diff options
author | Marcus Brinkmann <mb@g10code.com> | 2007-11-12 14:36:45 +0000 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2007-11-12 14:36:45 +0000 |
commit | 2b34191ffd6122d6981ddedaa1ecc89e2de21108 (patch) | |
tree | 6d669b7a9836499f56950cde53b48e8bad6f40c8 | |
parent | 1f7a5baff056b0bdc735927e89b6aaa4bce95886 (diff) | |
download | libassuan-2b34191ffd6122d6981ddedaa1ecc89e2de21108.tar.gz |
2007-11-12 Marcus Brinkmann <marcus@g10code.de>
* assuan-inquire.c (_assuan_inquire_ext_cb): Clear
CTX->inquire_membuf after deallocating it.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/assuan-inquire.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 037db8b..7f80643 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-11-12 Marcus Brinkmann <marcus@g10code.de> + + * assuan-inquire.c (_assuan_inquire_ext_cb): Clear + CTX->inquire_membuf after deallocating it. + 2007-10-18 Marcus Brinkmann <marcus@g10code.de> * assuan-handler.c (std_handler_help): New function. diff --git a/src/assuan-inquire.c b/src/assuan-inquire.c index 54e1877..70c8916 100644 --- a/src/assuan-inquire.c +++ b/src/assuan-inquire.c @@ -321,6 +321,7 @@ _assuan_inquire_ext_cb (assuan_context_t ctx) rc = _assuan_error (ASSUAN_Out_Of_Core); free_membuf (mb); free (mb); + ctx->inquire_membuf = NULL; } ctx->in_inquire = 0; (ctx->inquire_cb) (ctx->inquire_cb_data, rc, buf, buf_len); |