diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-13 16:30:02 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-13 16:30:02 -0500 |
commit | e81d97b4bc79283f788307aad9c24888afb759a2 (patch) | |
tree | 5e59f9d49a80a0d9c11e57b3ff79458f35ffa04d | |
parent | 7628621d02ac7076f64f3e630b725b980b03a529 (diff) |
fixed the unit-handling duplicate g_free
-rw-r--r-- | parser.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |