From: Nikos Mavrogiannopoulos Date: Tue, 12 Nov 2013 12:02:19 +0000 (+0100) Subject: doc update X-Git-Tag: gnutls_3_3_0pre0~605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c3ed55e1457515a7bfd4cf7f3134d3bf4f1c71;p=thirdparty%2Fgnutls.git doc update --- diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c index d686ce8c35..c7c03c3464 100644 --- a/lib/gnutls_global.c +++ b/lib/gnutls_global.c @@ -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.