Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
authorroland <roland>
Sun, 26 May 1996 19:07:46 +0000 (19:07 +0000)
committerroland <roland>
Sun, 26 May 1996 19:07:46 +0000 (19:07 +0000)
* intl/loadmsgcat.c (_nl_load_domain): Test correct variable
after malloc.

intl/loadmsgcat.c

index 1daf72a..90eed87 100644 (file)
@@ -161,7 +161,7 @@ _nl_load_domain (domain_file)
 
   domain_file->data
     = (struct loaded_domain *) malloc (sizeof (struct loaded_domain *));
-  if (domain->data == NULL)
+  if (domain_file->data == NULL)
     return;
 
   domain = (struct loaded_domain *) domain_file->data;