test_progressbar.c: Fixed wrong null set of timer.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 6 Nov 2013 15:00:38 +0000 (00:00 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 6 Nov 2013 15:01:09 +0000 (00:01 +0900)
commit825d357baa20f3c36b5f4c51b42bd507ca21ba5a
tree2da57c3a5d0f18a483e493f663a508b19c04f075
parentdc20d7843f64373b3fa61e0f3d006d3a3a8f6a75
test_progressbar.c: Fixed wrong null set of timer.

If pd is null, pd->timer will crash and cannot set it to null.
This fixes coverity CID 1126081.
src/bin/test_progressbar.c