]> code.delx.au - pulseaudio/commit
stream-restore: Preventative initialistion to NULL
authorColin Guthrie <cguthrie@mandriva.org>
Mon, 29 Jun 2009 18:55:34 +0000 (19:55 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 1 Oct 2009 08:08:28 +0000 (09:08 +0100)
commit42b30e1aa2a134ccd90486b3dc73d1b13a7636a6
tree11012d6e7bc2ebba26f25252f9cff636c4f98c1c
parent64979385e09ba0a411669f9feeea56c93bf14d38
stream-restore: Preventative initialistion to NULL

There is not technically a bug here due to the early return and the knowledge that one of the if blocks
will definitely be run, but this makes sure we don't call free on uninitialised data or do
anything else suitibly daft. Also helps when you copy the code and change it slightly and don't realise
you've left things open...
src/modules/module-stream-restore.c