aul_open -> aul_launch. scroll access added
[platform/framework/web/livebox-viewer.git] / src / util.c
index b0e7181..03d679f 100644 (file)
@@ -145,6 +145,9 @@ int util_unlink(const char *filename)
        int desclen;
        int ret;
 
+       if (!filename)
+               return LB_STATUS_ERROR_INVALID;
+
        desclen = strlen(filename) + 6; /* .desc */
        descfile = malloc(desclen);
        if (!descfile) {