1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

irc: fix memory leak when checking the value of ssl_priorities option in servers

This commit is contained in:
Sebastien Helleu
2013-11-23 17:06:07 +01:00
parent 1fa4701ed0
commit 2305c95db0
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -978,6 +978,7 @@ irc_config_check_gnutls_priorities (const char *priorities)
return NULL;
rc = gnutls_priority_init (&priority_cache, priorities, &pos_error);
gnutls_priority_deinit (priority_cache);
if (rc == GNUTLS_E_SUCCESS)
return NULL;
if (pos_error)