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; }