Prevent a memory leak on low memory conditions in http client body handling

remotes/origin/master-1.1.x
Gerardo Iglesias Galvan 14 years ago committed by Victor Julien
parent 2836e0de4e
commit c4832814b4

@ -588,7 +588,7 @@ error:
if (bd->data != NULL) {
SCFree(bd->data);
}
SCFree(bd->data);
SCFree(bd);
}
SCReturnInt(-1);
}

Loading…
Cancel
Save