PERFORCE change 79474 for review
soc-andrew
soc-andrew at FreeBSD.org
Sun Jul 3 13:53:49 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79474
Change 79474 by soc-andrew at soc-andrew_serv on 2005/07/03 13:53:39
Fix memory leak in libaura
Affected files ...
.. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#2 edit
Differences ...
==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#2 (text+ko) ====
@@ -212,8 +212,10 @@
vasprintf(&filename, fmt, args);
va_end(args);
- if ((f = fopen(filename, "r")) == NULL)
+ if ((f = fopen(filename, "r")) == NULL) {
+ free(filename);
return(0);
+ }
free(filename);
More information about the p4-projects
mailing list