summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-13 16:30:02 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-13 16:30:02 -0500
commite81d97b4bc79283f788307aad9c24888afb759a2 (patch)
tree5e59f9d49a80a0d9c11e57b3ff79458f35ffa04d
parent7628621d02ac7076f64f3e630b725b980b03a529 (diff)
fixed the unit-handling duplicate g_free
-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;