]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix CID 1215128: Free the allocated buf when image_set_size()
authormarcel <marcel@FreeBSD.org>
Wed, 21 May 2014 17:36:12 +0000 (17:36 +0000)
committermarcel <marcel@FreeBSD.org>
Wed, 21 May 2014 17:36:12 +0000 (17:36 +0000)
commit65627bf1cbe652f4e8bd9f5093dfd8e78fe4c3fb
tree5051a4a1df6f05823694918b8fa9d9363bb2948f
parentb00f7d7c651114b3fac6a1cf674ddf0004aa2f83
Fix CID 1215128: Free the allocated buf when image_set_size()
returns and error and we return from bsd_write().
usr.bin/mkimg/bsd.c