python: Use the correct function to free buffers.
* lang/python/gpgme.i (char *): Free using 'gpgme_free'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
fdc4e33dc3
commit
9fc9533c28
@ -111,7 +111,7 @@
|
||||
}
|
||||
|
||||
/* Release returned buffers as necessary. */
|
||||
%typemap(newfree) char * "free($1);";
|
||||
%typemap(newfree) char * "gpgme_free($1);";
|
||||
%newobject gpgme_data_release_and_get_mem;
|
||||
|
||||
%typemap(arginit) gpgme_key_t [] {
|
||||
|
Loading…
Reference in New Issue
Block a user