Packet streams: fix memory leak on dlist allocation failure.
authorKp <kp@valhallalegends.com>
Sun, 1 Jun 2008 17:25:50 +0000 (12:25 -0500)
committerKp <kp@valhallalegends.com>
Mon, 1 Sep 2008 20:13:56 +0000 (15:13 -0500)
If silc_dlist_init fails to allocate a SilcDList for stream->process,
then silc_packet_stream_link_va leaks the newly allocated
SilcPacketProcess.  Fix that by calling silc_free(p) on the error path.


No differences found