Skip to content

Commit

Permalink
Infostore: fall-through on error
Browse files Browse the repository at this point in the history
Don't separate out different labels any longer.
  • Loading branch information
ThomasAdam committed Nov 19, 2024
1 parent 08d7c39 commit d935452
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fvwm/infostore.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,9 @@ void CMD_InfoStoreAdd(F_CMD_ARGS)
error:
if (key == NULL || value == NULL) {
fvwm_debug(__func__, "Bad arguments given.");
goto out;
}
out:
free(key);
free(value);

return;
}

void CMD_InfoStoreRemove(F_CMD_ARGS)
Expand Down

0 comments on commit d935452

Please sign in to comment.