Fix one cause of manifest struct leakage

This commit is contained in:
Andrew Bettison 2012-05-24 17:28:35 +09:30
parent e74b9e1d6b
commit 30009c2c71

View File

@ -813,13 +813,11 @@ int rhizome_fetch_poll()
1 /* do verify */, 1 /* do verify */,
1 /* do check hash of file */, 1 /* do check hash of file */,
0 /* do not sign it, just keep existing signatures */); 0 /* do not sign it, just keep existing signatures */);
q->manifest=NULL; }
} else {
rhizome_manifest_free(q->manifest); rhizome_manifest_free(q->manifest);
q->manifest=NULL; q->manifest=NULL;
} }
} }
}
break; break;
case RHIZOME_FETCH_RXHTTPHEADERS: case RHIZOME_FETCH_RXHTTPHEADERS:
/* Keep reading until we have two CR/LFs in a row */ /* Keep reading until we have two CR/LFs in a row */