Source

9menu / debian / patches / 07_remove-resource-leak.diff

Full commit
Description: Fix resource leak:fp
Forwarded: yes
Author: Daniel Echeverry <epsilon77@gmail.com>
Origin: vendor
Last-Update: 2010-12-16

--- a/9menu.c
+++ b/9menu.c
@@ -326,6 +326,7 @@
 			strcpy(f_argv[nlabels], s);
 			++nlabels;
 		}
+	fclose(fp);
 	}
 
 	labels = (char **) malloc((numitems + nlabels) * sizeof(char *));