summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-08 15:04:32 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-08 15:04:32 +0000
commitbc8ac28af7554e42caa542aae2e334620860fe38 (patch)
tree6c65d4bdb96c44404ad496fc323ab142a2857d02 /src/map/party.c
parentc515658d44a9d43f549c34ff8ae001170d57844e (diff)
downloadhercules-bc8ac28af7554e42caa542aae2e334620860fe38.tar.gz
hercules-bc8ac28af7554e42caa542aae2e334620860fe38.tar.bz2
hercules-bc8ac28af7554e42caa542aae2e334620860fe38.tar.xz
hercules-bc8ac28af7554e42caa542aae2e334620860fe38.zip
Added some aFrees, ultramage is a jerk.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12536 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/party.c b/src/map/party.c
index a1d45a0e5..f165fe881 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -113,12 +113,14 @@ int party_create(struct map_session_data *sd,char *name,int item,int item2)
if(sd->status.party_id) {
clif_party_created(sd,2);
+ aFree(tname);
return 0; // "already in a party"
}
if(strlen(trim(tname)) < 2)
{
clif_party_created(sd, 1);
+ aFree(tname);
return 0;
}