diff src/lzfu.c @ 85:582e927756d3 stable-0-6-15

Patch from Robert Simpson for file handle leak in error case. Fix for missing length on lz decompression, bug found by Chris White.
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2008 22:01:52 -0700
parents 56fa05fd5271
children 6395ced2b8b2
line wrap: on
line diff
--- a/src/lzfu.c	Sun Jun 15 07:00:54 2008 -0700
+++ b/src/lzfu.c	Wed Jul 30 22:01:52 2008 -0700
@@ -120,6 +120,6 @@
 			flag_mask <<= 1;
 		}
 	}
-	// the RTF data is terminated with }}\0\0
+    *size = out_ptr;
 	return out_buf;
 }