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:
parent
2da5e5ee55
commit
a81e96fee7
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue