echo-cancel: Fix a crash is speex cleanup
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 28 May 2011 02:21:35 +0000 (07:51 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 28 May 2011 02:29:49 +0000 (07:59 +0530)
commitb0f5b8d2fab347a062fa6ed34ff2908a1c29a41d
treefdaede72c6cd442776c65cf313ed3d4443cae9d4
parent9e78de2da27e882b8cd956ec859304629011a55b
echo-cancel: Fix a crash is speex cleanup

If module initialisation fails, the speex done() function might try to
free a value that's not been allocated yet. Adding protection for this
condition.
src/modules/echo-cancel/speex.c