Fixed memory leak

This commit is contained in:
Tatsuhiro Tsujikawa 2012-02-28 23:25:44 +09:00
parent 7b3a6a2e8b
commit 9185629604
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ void spdylay_outbound_item_free(spdylay_outbound_item *item)
case SPDYLAY_HEADERS:
spdylay_frame_headers_free(&item->frame->headers);
break;
case SPDYLAY_WINDOW_UPDATE:
spdylay_frame_window_update_free(&item->frame->window_update);
break;
case SPDYLAY_DATA:
spdylay_frame_data_free(&item->frame->data);
break;