diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 2 |
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; } |