Code

Fixed some issues identified by static code analysis.
[sysdb.git] / src / liboconfig / oconfig.c
index 629775ab8c44dd55de5d930d0189168546d455c3..427f957cb047e72e6cf92e5875ceadec5f2d369f 100644 (file)
@@ -61,6 +61,7 @@ oconfig_item_t *oconfig_parse_fh (FILE *fh)
   if (status != 0)
   {
     fprintf (stderr, "yyparse returned error #%i\n", status);
+    c_file = NULL;
     return (NULL);
   }