Update SMACK, Fix a crash of terminating sequence, etc, ...
[apps/livebox/data-provider-master.git] / src / parser.c
index 948aec8..987772c 100644 (file)
@@ -820,7 +820,8 @@ HAPI struct parser *parser_load(const char *pkgname)
                linelen++;
         } while (c != EOF);
 
-       fclose(fp);
+       if (fclose(fp) != 0)
+               ErrPrint("fclose: %s\n", strerror(errno));
 
        s_list = eina_list_append(s_list, item);
        return item;