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)
commit90f9c6bc649086fcfdf0ddf17fc50817debb8249
tree3cd9b1f9e574e3472c7a19c56ccc4d7495011a3a
parent03ddfa12c8c0d2cbc41c4760d10e3d6fd35b0b94
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.
legacy/elementary/src/bin/test_progressbar.c