diff options
author | Milan Crha <mcrha@redhat.com> | 2009-08-10 19:25:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-11 04:46:56 +0800 |
commit | 11593af886c7c1ca492b1ec2915e203934f8c8f2 (patch) | |
tree | 448a0252e172c401bf026cf21a295ae6518adcca | |
parent | f5cc3b2779f127122285f9834859b31e5558b111 (diff) | |
download | gsoc2013-evolution-11593af886c7c1ca492b1ec2915e203934f8c8f2.tar.gz gsoc2013-evolution-11593af886c7c1ca492b1ec2915e203934f8c8f2.tar.zst gsoc2013-evolution-11593af886c7c1ca492b1ec2915e203934f8c8f2.zip |
Runtime warning (incorrect g_object_unref call) fix
-rw-r--r-- | composer/e-composer-autosave.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-composer-autosave.c b/composer/e-composer-autosave.c index 908ff8cf83..1fd04c3c1e 100644 --- a/composer/e-composer-autosave.c +++ b/composer/e-composer-autosave.c @@ -83,7 +83,8 @@ composer_autosave_state_new (void) static void composer_autosave_state_free (AutosaveState *state) { - g_object_unref (state->file); + if (state->file) + g_object_unref (state->file); g_slice_free (AutosaveState, state); } |