Skip to content

Commit

Permalink
use g_strdup
Browse files Browse the repository at this point in the history
  • Loading branch information
LBCrion committed Nov 18, 2022
1 parent 2b1a497 commit c75388b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sway_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,5 +650,5 @@ void sway_ipc_bar_id ( gchar *id )
if(!id)
return;
g_free(bar_id);
bar_id = strdup(id);
bar_id = g_strdup(id);
}

0 comments on commit c75388b

Please sign in to comment.