summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 0f12f54..cfb3bbb 100644
--- a/parser.c
+++ b/parser.c
@@ -1385,8 +1385,6 @@ static int Handle_Units(float *mult,char *units, char *in_base)
base = g_strdup ("%");
prefix[len_all - 1] = 0;
} else if (strcmp(prefix+pos,base)) {
- g_free (base);
- g_free (prefix);
errornum = UnknownUnits;
} else {
prefix[pos]=0;