Commit 35d99b72 authored by Juanma Barranquero's avatar Juanma Barranquero

lib-src/ebrowse.c (match_qualified_namespace_alias): Check for null pointer.

parent ae492bec
2010-07-03 Juanma Barranquero <lekktu@gmail.com>
* ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
2010-07-03 Juanma Barranquero <lekktu@gmail.com>
Fix prototype warnings.
......
......@@ -2385,7 +2385,7 @@ match_qualified_namespace_alias (void)
{
case IDENT:
tmp = (struct link *) xmalloc (sizeof *cur);
tmp->sym = find_namespace (yytext, cur->sym);
tmp->sym = find_namespace (yytext, cur ? cur->sym : NULL);
tmp->next = NULL;
if (head)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment