]> git.tuebingen.mpg.de Git - paraslash.git/commit
vss: Avoid potential double free of FEC parameters.
authorAndre Noll <maan@systemlinux.org>
Mon, 16 Aug 2010 07:29:59 +0000 (09:29 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 31 Oct 2010 11:06:58 +0000 (12:06 +0100)
commit26d1bf2b7be9af211755c6fb90ff8de55e5a9bd3
tree05e5582ed34510c198cfe4f023848a9f15aed799
parentfd62cf6f3c17ec9f504d3a05be4fd48f969dcb01
vss: Avoid potential double free of FEC parameters.

If an error occurs in initialize_fec_client() we free the FEC parameter
structure but do not invalidate it. It's both easier and safer to
free this struct just before allocating it.
vss.c