diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-11 17:43:35 +0100 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-11 17:43:35 +0100 |
commit | d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77 (patch) | |
tree | 25193a342f18283611374bebb691cfa95b5d3121 /src/map | |
parent | 2764e41addcb28863a6d9de5b0407eba9855fa77 (diff) | |
download | hercules-d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77.tar.gz hercules-d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77.tar.bz2 hercules-d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77.tar.xz hercules-d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77.zip |
Free StringBuf is case of error in npc_expanded_barter_fromsql() function
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/npc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 2ac99948b..40ec380ee 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1799,6 +1799,7 @@ static void npc_expanded_barter_fromsql(void) ) { SqlStmt_ShowDebug(stmt); SQL->StmtFree(stmt); + StrBuf->Destroy(&buf); return; } |