]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Nov 2013 12:02:19 +0000 (13:02 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Nov 2013 12:02:40 +0000 (13:02 +0100)
lib/gnutls_global.c

index d686ce8c3538e6910f8807c9fd8fb06c3503f6e6..c7c03c3464bbe7c5247d64bb2ac495e23eaf337e 100644 (file)
@@ -181,10 +181,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.