summaryrefslogtreecommitdiff
path: root/lib-src/ebrowse.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-03 12:46:27 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-03 12:46:27 +0200
commit35d99b72205541bd4a41e2f98410607f620470a2 (patch)
treef28e45deb003c2c1abf7338cde037b2dce2536ab /lib-src/ebrowse.c
parentae492bec164e0288fbc5ebdcbefc1d6441d077c5 (diff)
downloademacs-35d99b72205541bd4a41e2f98410607f620470a2.tar.gz
lib-src/ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
Diffstat (limited to 'lib-src/ebrowse.c')
-rw-r--r--lib-src/ebrowse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index bb3456f84e8..37b48a3349a 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -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)
{