sane-backends/fix-lexmark_low-memory-leak.patch

12 lines
335 B
Diff

--- backend/lexmark_low.c.orig 2009-02-26 17:11:17.000000000 +0100
+++ backend/lexmark_low.c 2009-09-30 12:38:02.000000000 +0200
@@ -2560,6 +2560,8 @@ sanei_lexmark_low_find_start_line (Lexma
}
} /* end for buffer */
+ free (buffer);
+
DBG (2, "sanei_lexmark_low_find_start_line: end.\n");
return whiteLineCount;
}