2
0
Fork 0

fix memory leak in stat cache when connection was closed abruptly

This commit is contained in:
Thomas Porzelt 2009-03-11 00:22:53 +01:00
parent 3137f19ce5
commit 4f44b332c7
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void vrequest_reset(vrequest *vr) {
if (vr->stat_cache_entry) {
g_ptr_array_remove_fast(vr->stat_cache_entry->vrequests, vr);
vr->stat_cache_entry = NULL;
stat_cache_entry_release(vr);
}
memcpy(vr->options, vr->con->srv->option_def_values->data, vr->con->srv->option_def_values->len * sizeof(option_value));