]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist.c
build: Rename all_objs -> dep_objs.
[paraslash.git] / playlist.c
index cd5fc5ad4f0731cba4a8d4a6cf649a3997dd93c2..c145b0fd80ce0520bda58f0949c46211eeee5fdd 100644 (file)
@@ -184,7 +184,8 @@ int playlist_load(const char *name, struct playlist_instance **result, char **ms
        }
        return pi->length;
 close_score_table:
-       score_close(pi->score_table);
+       if (result)
+               score_close(pi->score_table);
        free(pi);
 err:
        PARA_NOTICE_LOG("unable to load playlist %s\n", name);