Code cleanup
This commit is contained in:
parent
d6f6231b65
commit
3e207900c4
@ -1,5 +1,5 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
|
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
|
||||||
/* This file is part of DeforaOS Desktop Phone */
|
/* This file is part of DeforaOS Desktop Phone */
|
||||||
/* This program is free software: you can redistribute it and/or modify
|
/* 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
|
* 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);
|
_openmoko_mixer_close(plugin);
|
||||||
if(openmoko->window != NULL)
|
if(openmoko->window != NULL)
|
||||||
gtk_widget_destroy(openmoko->window);
|
gtk_widget_destroy(openmoko->window);
|
||||||
free(openmoko);
|
object_delete(openmoko);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user