PERFORCE change 165274 for review
Sylvestre Gallon
syl at FreeBSD.org
Fri Jun 26 19:27:58 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165274
Change 165274 by syl at syl_atuin on 2009/06/26 19:27:51
Remove a double free. Spotted by Hans Petter Selasky.
Affected files ...
.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#48 edit
Differences ...
==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#48 (text+ko) ====
@@ -179,7 +179,6 @@
if (dev == NULL) {
while (i != 0) {
libusb_unref_device((*list)[i - 1]);
- free((*list)[i - 1]);
i--;
}
free(*list);
More information about the p4-projects
mailing list