Ignore:
Timestamp:
Sep 30, 2006, 7:53:59 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed a lot of memory leaks and added a few error checks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/main.c

    r1143 r1150  
    213213        cv = render_figlet(string, length);
    214214
     215    free(string);
     216
    215217    if(!cv)
    216218        return -1;
    217219
    218     /* Do gay stuff with our string (léopard) */
     220    /* Apply optional effects to our string */
    219221    if(flag_metal)
    220222        filter_metal(cv);
Note: See TracChangeset for help on using the changeset viewer.