Skip to content

Commit

Permalink
addon GUI: fix segault in destroy window
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Nov 14, 2012
1 parent 96c8dc6 commit 504e182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addons/library.xbmc.gui/libXBMC_gui.cpp
Expand Up @@ -87,7 +87,7 @@ DLLEXPORT CAddonGUIWindow* GUI_Window_create(void *hdl, void *cb, const char *xm
return new CAddonGUIWindow(hdl, cb, xmlFilename, defaultSkin, forceFallback, asDialog);
}

DLLEXPORT void GUI_Window_destroy(void *hdl, void* cb, CAddonGUIWindow* p)
DLLEXPORT void GUI_Window_destroy(CAddonGUIWindow* p)
{
delete p;
}
Expand Down

0 comments on commit 504e182

Please sign in to comment.