From 6fc1cae2088dd9f450e15728ca4bf4a82fcb8070 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 30 Nov 2013 14:44:44 -0200 Subject: Minor adjustments - improved @makehomun -1 so that if the homun data hasnt been loaded it is requested. - instances of private types (party/guild/char) no longer create channels, however global types still does (IOT_NONE). - Fixed an issue with party/guild instance data not being freed when either is destroyed (Special Thanks to Yommy). Signed-off-by: shennetsind --- src/map/party.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/party.c') diff --git a/src/map/party.c b/src/map/party.c index 0a7467162..8e3ac3dcf 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -589,6 +589,9 @@ int party_broken(int party_id) } } + if( p->instance ) + aFree(p->instance); + idb_remove(party->db,party_id); return 0; } -- cgit v1.2.3-60-g2f50