diff options
author | default <nobody@localhost> | 2023-06-18 20:38:35 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-18 20:38:35 +0200 |
commit | 42803e21169018b4b1d5fcd7ae0617b8f3f65053 (patch) | |
tree | 132f72fde0cfbb5a8201ca3c82a4ea050f28b525 | |
parent | 52782326160f6d8ecbae26de665502d3fecd7753 (diff) |
Fixed crash in _object_fn_by_md5().
-rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ xs_list *index_list_desc(const char *fn, int skip, int show) static xs_str *_object_fn_by_md5(const char *md5, const char *func) { xs *bfn = xs_fmt("%s/object/%c%c", srv_basedir, md5[0], md5[1]); - xs *ret = NULL; + xs_str *ret; int ok = 1; /* an object deleted from an index; fail but don't bark */ |