diff --git a/src/math/math_scanner.c b/src/math/math_scanner.c index f3d9def5..f966ad4f 100644 --- a/src/math/math_scanner.c +++ b/src/math/math_scanner.c @@ -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 {