Bug 201729

Summary: usr/src/release/picobsd/tinyware/view/view.c: 2 * resource leak ?
Product: Base System Reporter: David Binderman <dcb314>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: kevans
Priority: ---    
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   

Description David Binderman 2015-07-21 07:17:26 UTC
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);
    }
Comment 1 Kyle Evans freebsd_committer 2019-11-05 02:44:06 UTC
This PR has not seen resolution in 4 years, and PicoBSD has now been removed in r354346. Closing this as "Overcome by Events".