From: Fredrik Tolf Date: Sun, 22 Jul 2007 04:32:38 +0000 (+0200) Subject: Fixed segv bug in aborthublist. X-Git-Tag: 1.0~91 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=affc65d85a239182629f917651297443b4f0f2d5 Fixed segv bug in aborthublist. --- diff --git a/clients/gtk2/hublist.c b/clients/gtk2/hublist.c index 556e3c3..ec4bcc0 100644 --- a/clients/gtk2/hublist.c +++ b/clients/gtk2/hublist.c @@ -69,6 +69,7 @@ void aborthublist(void) if(bzs != NULL) { BZ2_bzDecompressEnd(bzs); free(bzs); + bzs = NULL; } if(filter != NULL) { regfree(filter);