(Erlang_functions): Possibly free space allocated for var last.
(Prolog_functions): Possibly free space allocated for var last.
+2006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
+
+ * etags.c (Perl_functions): Free space allocated for var package.
+ (Erlang_functions): Possibly free space allocated for var last.
+ (Prolog_functions): Possibly free space allocated for var last.
+
2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
* sorted-doc.c (main): Initialize docs to NULL.
* configuration file containing regexp definitions for etags.
*/
-char pot_etags_version[] = "@(#) pot revision number is 17.15";
+char pot_etags_version[] = "@(#) pot revision number is 17.17";
#define TRUE 1
#define FALSE 0
lb.buffer, cp - lb.buffer + 1, lineno, linecharno);
}
}
+ free (package);
}
last[len] = '\0';
}
}
+ if (last != NULL)
+ free (last);
}
else if (cp[0] == '-') /* attribute, e.g. "-define" */
{
erlang_attribute (cp);
- last = NULL;
+ if (last != NULL)
+ {
+ free (last);
+ last = NULL;
+ }
}
else if ((len = erlang_func (cp, last)) > 0)
{
last[len] = '\0';
}
}
+ if (last != NULL)
+ free (last);
}