Fix my previous commit
authorGeoffroy Couprie <geo.couprie@gmail.com>
Fri, 28 Nov 2008 13:56:12 +0000 (14:56 +0100)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Fri, 28 Nov 2008 13:56:12 +0000 (14:56 +0100)
modules/gui/wince/messages.cpp

index 66fd331..8cd1759 100644 (file)
@@ -71,8 +71,8 @@ Messages::Messages( intf_thread_t *p_intf, CBaseWindow *p_parent,
 
 Messages::~Messages()
 {
-    delete cb_data;
     msg_Unsubscribe(sub);
+    delete cb_data;
 }
 
 /***********************************************************************