2002-04-25 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (_gpgme_gpg_release): Call gpgme_data_release on GPG->cmd.cb_data, not xfree.
This commit is contained in:
parent
f5e05f759f
commit
9b28b6b209
2
TODO
2
TODO
@ -21,6 +21,8 @@ Hey Emacs, this is -*- outline -*- mode!
|
|||||||
(it's an internal error, as select_protocol checks already).
|
(it's an internal error, as select_protocol checks already).
|
||||||
** When server mode is implemented properly, more care has to be taken to
|
** When server mode is implemented properly, more care has to be taken to
|
||||||
release all resources on error (for example to free assuan_cmd).
|
release all resources on error (for example to free assuan_cmd).
|
||||||
|
** GnuPG
|
||||||
|
*** For pipemode, make sure to release the pipemode callback data object.
|
||||||
|
|
||||||
* Operations
|
* Operations
|
||||||
** Export status handler need much more work.
|
** Export status handler need much more work.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-04-25 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* rungpg.c (_gpgme_gpg_release): Call gpgme_data_release on
|
||||||
|
GPG->cmd.cb_data, not xfree.
|
||||||
|
|
||||||
2002-04-25 Marcus Brinkmann <marcus@g10code.de>
|
2002-04-25 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* engine-gpgsm.c (_gpgme_gpgsm_new): Set the display, ttyname,
|
* engine-gpgsm.c (_gpgme_gpgsm_new): Set the display, ttyname,
|
||||||
|
@ -264,7 +264,7 @@ _gpgme_gpg_release (GpgObject gpg)
|
|||||||
xfree (gpg->colon.buffer);
|
xfree (gpg->colon.buffer);
|
||||||
if (gpg->argv)
|
if (gpg->argv)
|
||||||
free_argv (gpg->argv);
|
free_argv (gpg->argv);
|
||||||
xfree (gpg->cmd.cb_data);
|
gpgme_data_release (gpg->cmd.cb_data);
|
||||||
xfree (gpg->cmd.keyword);
|
xfree (gpg->cmd.keyword);
|
||||||
|
|
||||||
if (gpg->pid != -1)
|
if (gpg->pid != -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user