]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - notifier/rss.c
Merge changes from CUPS 1.6svn-r10390.
[thirdparty/cups.git] / notifier / rss.c
index f42c921a2cc293d5187296e6cec953614f2643ab..deee6b5b71c7929d69a6070b2efa61b6f09d0fd5 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   RSS notifier for CUPS.
  *
- *   Copyright 2007-2011 by Apple Inc.
+ *   Copyright 2007-2012 by Apple Inc.
  *   Copyright 2007 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -252,7 +252,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
     {
      /*
       * Save the messages to the file again, uploading as needed...
-      */ 
+      */
 
       if (save_rss(rss, newname, baseurl))
       {
@@ -554,6 +554,15 @@ load_rss(cups_array_t *rss,                /* I - RSS messages */
       sequence_number = atoi(start + 6);
   }
 
+  if (subject)
+    free(subject);
+
+  if (text)
+    free(text);
+
+  if (link_url)
+    free(link_url);
+
   fclose(fp);
 }