]> git.sur5r.net Git - cc65/blobdiff - src/sp65/pcx.c
Removed several memory leaks.
[cc65] / src / sp65 / pcx.c
index 53075a1e6186606fd55e39d1ff5be1ef89ace563..7dc9d9c9b46bb1a2443822c8e8a8c89a2ecaea0a 100644 (file)
@@ -437,6 +437,9 @@ Bitmap* ReadPCXFile (const Collection* A)
     /* Close the file */
     fclose (F);
 
+    /* Free memory for the scan line */
+    xfree (L);
+
     /* Free the PCX header */
     FreePCXHeader (P);