]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
Fix coverity issue 5.
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Feb 2023 17:51:32 +0000 (18:51 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Feb 2023 17:51:32 +0000 (18:51 +0100)
Free the struct at the end of function

filter/foomatic-rip/postscript.c

index 461fa66ef2dc6774fb0164dcf06bea897d026ed7..e6fbd2ac0aa384643db8c228f10758d4fe970d82 100644 (file)
@@ -315,6 +315,7 @@ print_ps(FILE *file,
       _log("No pages left, outputting empty file.\n");
 
     free_dstr(data_read);
+    free_dstr(line);
   }
 
   return (1);