Skip to content

Commit

Permalink
Fix memory leak in signature_parse
Browse files Browse the repository at this point in the history
  • Loading branch information
softmattertheory committed Nov 9, 2024
1 parent 6bd84f7 commit 55f1e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/datastructures/signature.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 189,8 @@ bool signature_parse(char *sig, signature *out) {
bool success=parse(&p);

parse_clear(&p);
lex_clear(&l);

return success;
}

Expand Down

0 comments on commit 55f1e5b

Please sign in to comment.