Changeset ae8196e for lib/format_erf.c


Ignore:
Timestamp:
09/29/05 17:13:10 (16 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
18478c1
Parents:
8283f05
Message:

A few changes that fix tiny memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    rb69afb1 rae8196e  
    321321#endif
    322322        }
    323        
     323        free(filemode);
    324324        return 1;
    325325}
     
    330330        int level = OPTIONS.erf.level;
    331331        optind = 1;
     332
    332333
    333334        while ((opt = getopt(argc, argv, "z:")) != EOF) {
     
    370371        fclose(INPUT.file);     
    371372#endif
     373        free(libtrace->format_data);
    372374}
    373375
     
    382384        fclose(OUTPUT.file);
    383385#endif
     386        free(libtrace->format_data);
    384387}
    385388 
Note: See TracChangeset for help on using the changeset viewer.