free unused paths

This commit is contained in:
Dana Jansens 2003-03-26 13:28:50 +00:00
parent 06f27af0a9
commit 1fb5c4b595

View file

@ -86,6 +86,8 @@ static void addbinding(GList *keylist, char *action, char *apath, int num)
/* these have extra data! */
if (a->func == action_execute || a->func == action_restart)
a->data.execute.path = apath;
else
g_free(apath);
if (a->func == action_desktop)
a->data.desktop.desk = (unsigned) num + 1;
if (a->func == action_move_relative_horz ||