Fix superfluous semicolons from 543c7d3.
[claws.git] / src / plugins / rssyl / libfeed / feed.c
index b4db22e7789e617179d523dbb300e5139971125e..11bbb12a1ea5d61cc1522585708ce156b9059f8b 100644 (file)
@@ -267,6 +267,7 @@ guint feed_update(Feed *feed, time_t last_update)
        feed_ctx->parser = XML_ParserCreate(NULL);
        feed_ctx->depth = 0;
        feed_ctx->str = NULL;
+       feed_ctx->xhtml_str = NULL;
        feed_ctx->feed = feed;
        feed_ctx->location = 0;
        feed_ctx->curitem = NULL;
@@ -348,6 +349,10 @@ cleanup:
        XML_ParserFree(feed_ctx->parser);
        g_free(feed_ctx->name);
        g_free(feed_ctx->mail);
+       if (feed_ctx->str != NULL)
+               g_string_free(feed_ctx->str, TRUE);
+       if (feed_ctx->xhtml_str != NULL)
+               g_string_free(feed_ctx->xhtml_str, TRUE);
        g_free(feed_ctx);
 
        return response_code;