From 9247e9081b6a2112e50a165ecff4403b5caa9f1f Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 25 Sep 2006 14:57:00 +0000 Subject: doc/ 2006-09-25 Marcus Brinkmann * gpgme.texi (Destroying Data Buffers): Clarify that gpgme_data_release_and_get_mem destroys DH unconditionally. gpgme/ 2006-09-25 Marcus Brinkmann * data-mem.c (gpgme_data_release_and_get_mem): Release the data object properly. --- doc/ChangeLog | 5 +++++ doc/gpgme.texi | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index ebe0aa4a..759c2891 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-09-25 Marcus Brinkmann + + * gpgme.texi (Destroying Data Buffers): Clarify that + gpgme_data_release_and_get_mem destroys DH unconditionally. + 2005-03-24 Marcus Brinkmann * gpgme.texi (Library Version Check): Make example code compatible diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 5053645d..04deff31 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1719,7 +1719,8 @@ the user provided the data buffer in non-copy mode, a copy will be made for this purpose. In case an error returns, or there is no suitable data buffer that can -be returned to the user, the function will return @code{NULL}. +be returned to the user, the function will return @code{NULL}. In any +case, the data object @var{dh} is destroyed. @end deftypefun -- cgit v1.2.3