fix build issue
use g_clear_object() for destroying gobjects.
Merge pull request #7 from avalluri/devel

Devel