Memleak: when expanding shorter URLs we need to free the reply buffer.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 14 May 2011 09:48:17 +0000 (09:48 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 14 May 2011 09:48:17 +0000 (09:48 +0000)
citadel/modules/rssclient/serv_rssclient.c

index 98f23e6ee4673d3fbb9456f3b02726fe4c575cd1..c5b74eb61c7d22e91fc75c140182c06f3b75957c 100644 (file)
@@ -386,6 +386,7 @@ int LookupUrl(StrBuf *ShorterUrlStr)
                rc = 1;
 
 shutdown:
+       FreeStrBuf(&Answer);
        curl_easy_cleanup(curl);
 
                return rc;