File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ void privateDtwResourceRootProps_free(privateDtwResourceRootProps *self){
2121 if (self -> error_path ){
2222 free (self -> error_path );
2323 }
24+ if (self -> encryption_owner ){
25+ DtwEncriptionInterface_free (self -> encryption_interface );
26+ }
2427
2528 if (self -> error_message ){
2629 free (self -> error_message );
Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ DtwActionTransaction * DtwActionTransaction_write_any(DtwEncriptionInterface *en
2727 );
2828 }
2929 if (self -> encryption_mode == DTW_B64_MODE ){
30- self -> content = DtwEncriptionInterface_encrypt_buffer_b64 (
30+ self -> content = ( unsigned char * ) DtwEncriptionInterface_encrypt_buffer_b64 (
3131 self -> encryption ,
3232 content ,
3333 size
3434 );
3535 self -> size = strlen ((char * )self -> content );
3636 }
3737 if (self -> encryption_mode == DTW_HEX_MODE ){
38- self -> content = DtwEncriptionInterface_encrypt_buffer_hex (
38+ self -> content = ( unsigned char * ) DtwEncriptionInterface_encrypt_buffer_hex (
3939 self -> encryption ,
4040 content ,
4141 size
You can’t perform that action at this time.
0 commit comments