Date: Tue, 21 Jul 2015 07:17:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201729] usr/src/release/picobsd/tinyware/view/view.c: 2 * resource leak ? Message-ID: <bug-201729-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201729 Bug ID: 201729 Summary: usr/src/release/picobsd/tinyware/view/view.c: 2 * resource leak ? Product: Base System Version: 10.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb314@hotmail.com 1. [usr/src/release/picobsd/tinyware/view/view.c:280]: (error) Resource leak: fd if(!png_check_sig(header,NUMBER)) { fprintf(stderr,"Not a PNG file.\n"); return(-1); } 2. [usr/src/release/picobsd/tinyware/view/view.c:290]: (error) Resource leak: fd if(!png_ptr || !info_ptr || !end_info) { VGLEnd(); fprintf(stderr,"failed to allocate needed structs!\n"); png_destroy_read_struct(&png_ptr,&info_ptr,&end_info); return(-1); } -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201729-8>