Changeset 257

Show
Ignore:
Timestamp:
01/06/07 18:38:54 (3 years ago)
Author:
gbooker
Message:

Forgot to free the packet data. Don't want to leak.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ff_MovieImport.c

    r256 r257  
    132132                av_close_input_file(storage->format_context); 
    133133         
     134        int i; 
     135        for(i=0; i<MAX_STREAMS; i++) 
     136        { 
     137                if(storage->firstFrames[i].data != NULL) 
     138                        av_free_packet(storage->firstFrames + i); 
     139        } 
     140         
    134141        if(storage) 
    135142                free(storage);