diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-12 13:02:19 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-14 03:19:19 +0100 |
commit | 06da49b13729c3db075c72761b46d0854d44aae3 (patch) | |
tree | 01c387ddb4afbfd22fd285b5dfcabecaafbbe181 | |
parent | 27b3fdbbe7ee26ef22de9abcd9b9aaa6f645c5be (diff) | |
download | gnutls-06da49b13729c3db075c72761b46d0854d44aae3.tar.gz |
doc update
-rw-r--r-- | lib/gnutls_global.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c index ed9e46f81d..e286c8efed 100644 --- a/lib/gnutls_global.c +++ b/lib/gnutls_global.c @@ -188,10 +188,9 @@ static int _gnutls_init = 0; * Note! This function is not thread safe. If two threads call this * function simultaneously, they can cause a race between checking * the global counter and incrementing it, causing both threads to - * execute the library initialization code. That would lead to a - * memory leak. To handle this, your application could invoke this - * function after aquiring a thread mutex. To ignore the potential - * memory leak is also an option. + * execute the library initialization code. That could lead to a + * memory leak or even a crash. To handle this, your application should + * invoke this function after aquiring a thread mutex. * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error code is returned. |