author | franky |
Thu, 04 Nov 2010 19:51:02 +0100 | |
changeset 1915 | e09763e16e49 |
parent 1914 | 356daacdbe54 |
child 1916 | a87ac75872fe |
--- a/mcabber/mcabber/screen.c Sun May 16 13:16:30 2010 +0200 +++ b/mcabber/mcabber/screen.c Thu Nov 04 19:51:02 2010 +0100 @@ -163,7 +163,7 @@ } keyseq; #ifdef HAVE_GLIB_REGEX -static GRegex *url_regex; +static GRegex *url_regex = NULL; #endif GSList *keyseqlist; @@ -808,8 +808,10 @@ refresh(); endwin(); #ifdef HAVE_GLIB_REGEX - if (url_regex) + if (url_regex) { g_regex_unref(url_regex); + url_regex = NULL; + } #endif Curses = FALSE; return;