mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-08 19:44:17 +00:00
Merge pull request #146 from NHAS/development
Set manifest pointer to null to stop double free when database is slow
This commit is contained in:
commit
ce51156f7e
@ -981,6 +981,7 @@ static int restful_rhizome_(httpd_request *r, const char *remainder)
|
||||
break;
|
||||
case RHIZOME_BUNDLE_STATUS_BUSY:
|
||||
rhizome_manifest_free(r->manifest);
|
||||
r->manifest = NULL;
|
||||
return http_request_rhizome_response(r, 0, NULL);
|
||||
case RHIZOME_BUNDLE_STATUS_ERROR:
|
||||
rhizome_manifest_free(r->manifest);
|
||||
|
Loading…
x
Reference in New Issue
Block a user