Date: Sun, 3 Jul 2005 13:53:47 GMT From: soc-andrew <soc-andrew@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 79474 for review Message-ID: <200507031353.j63DrlVY090574@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79474 Change 79474 by soc-andrew@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507031353.j63DrlVY090574>