-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Labels
Description
Segmentation fault
Due to free-ing memory twice,
and subsequent free-ing of null pointers
file: playerctl-player.c
function: playerctl_list_players
Original the system_players were free-ed:
/* g_list_concat: Adds the second GList onto the end of the first GList. Note that the elements of the second GList are not copied. They are used directly.*/
GList *players = g_list_concat(session_players, system_players);
system_players = NULL;
return players;