add a missing call to g_object_unref
Merge pull request #356 from eyelash/fixes

add a missing call to g_object_unref