mirror of
https://github.com/lbonn/rofi.git
synced 2025-12-01 12:07:41 +00:00
Remove memory wrappers, and use system stuff directly.
This commit is contained in:
@ -46,7 +46,7 @@ static char **get_dmenu ( void )
|
||||
|
||||
while ( fgets ( buffer, 1024, stdin ) != NULL )
|
||||
{
|
||||
retv = reallocate ( retv, ( index + 2 ) * sizeof ( char* ) );
|
||||
retv = realloc ( retv, ( index + 2 ) * sizeof ( char* ) );
|
||||
retv[index] = strdup ( buffer );
|
||||
retv[index + 1] = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user