Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/store_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ static int memcached_metatile_expire(struct storage_backend * store, const char
static int memcached_close_storage(struct storage_backend * store)
{
memcached_free(store->storage_ctx);
store->storage_ctx = NULL;
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions src/store_rados.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ static int rados_close_storage(struct storage_backend * store)
free(ctx->metadata_cache.data);
free(ctx->pool);
free(ctx);
store->storage_ctx = NULL;
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion src/store_ro_composite.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static int ro_composite_close_storage(struct storage_backend * store)
}

free(ctx);
free(store);
store->storage_ctx = NULL;
return 0;
}

Expand Down
3 changes: 1 addition & 2 deletions src/store_ro_http_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ static int ro_http_proxy_close_storage(struct storage_backend * store)

curl_easy_cleanup(ctx->ctx);
free(ctx);
free(store);

store->storage_ctx = NULL;
return 0;
}

Expand Down