1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Fix small memory leak in history.

This commit is contained in:
Dave Davenport 2018-05-16 20:41:29 +02:00
parent 2da5e5ee55
commit a81e96fee7

View file

@ -113,6 +113,9 @@ static char ** __history_get_element_list_fields ( FILE *fd, unsigned int *lengt
( *length )++; ( *length )++;
} }
if ( buffer_length > 0 ){
g_free ( buffer );
}
return retv; return retv;
} }