- [FIX] Small memory leak fixed
This commit is contained in:
3
gif.c
3
gif.c
@@ -434,6 +434,9 @@ static unsigned char* process_gif_stream(unsigned char *buffer, unsigned short*
|
||||
// sizeof( screen_descriptor_t ) = 8!
|
||||
READ(&screen_descriptor, 7);
|
||||
|
||||
if (w) *w = screen_descriptor.width;
|
||||
if (h) *h = screen_descriptor.height;
|
||||
|
||||
color_resolution_bits = ( ( screen_descriptor.fields & 0x70 ) >> 4 ) + 1;
|
||||
|
||||
if ( screen_descriptor.fields & 0x80 )
|
||||
|
||||
Reference in New Issue
Block a user