Skip to content

Commit

Permalink
* math_scanner.c (get_symbol): fix potential double free.
Browse files Browse the repository at this point in the history
  • Loading branch information
htrb committed Nov 20, 2024
1 parent 37cafc8 commit 096b284
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/math/math_scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ get_symbol(const char *str, const char ** rstr)
g_free(buf);
tok = create_token(str, type);
if (tok == NULL) {
g_free(buf);
return NULL;
}
} else {
Expand Down

0 comments on commit 096b284

Please sign in to comment.