From: Andre Noll Date: Mon, 16 Aug 2010 07:29:59 +0000 (+0200) Subject: vss: Avoid potential double free of FEC parameters. X-Git-Tag: v0.4.5~14 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=26d1bf2b7be9af211755c6fb90ff8de55e5a9bd3;hp=26d1bf2b7be9af211755c6fb90ff8de55e5a9bd3 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. ---