From 3e207900c42531e4ac88b76c42ccb019da8d6fa5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 5 Jan 2011 01:42:09 +0000 Subject: [PATCH] Code cleanup --- src/plugins/openmoko.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/openmoko.c b/src/plugins/openmoko.c index e3c1116..76b81a8 100644 --- a/src/plugins/openmoko.c +++ b/src/plugins/openmoko.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2010 Pierre Pronchery */ +/* Copyright (c) 2011 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Phone */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -112,7 +112,7 @@ static int _openmoko_destroy(PhonePlugin * plugin) _openmoko_mixer_close(plugin); if(openmoko->window != NULL) gtk_widget_destroy(openmoko->window); - free(openmoko); + object_delete(openmoko); return 0; }