plug memory leak in spec parsing code
authorFlorian Festi <ffesti@redhat.com>
Fri, 25 Jul 2008 10:28:46 +0000 (12:28 +0200)
committerFlorian Festi <ffesti@redhat.com>
Fri, 25 Jul 2008 10:28:46 +0000 (12:28 +0200)
build/expression.c

index 970ec05..6927724 100644 (file)
@@ -280,6 +280,7 @@ static int rdToken(ParseState state)
 
       token = TOK_IDENTIFIER;
       v = valueMakeString(temp);
+      free(temp);
 
     } else if (*p == '\"') {
       char *temp;