diff options
author | Haru <haru@dotalux.com> | 2020-04-05 19:59:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 19:59:52 +0200 |
commit | a761af9650e781a272fa3b22bc85eca3e141aed7 (patch) | |
tree | ad5a02716d654ed1fd8c82a87af9ed1a1bb8463a /src/map/npc.c | |
parent | e827fed09af22b18ffa54ca5dc9991eff464f7ab (diff) | |
parent | d5faef5a8cc681c9f30aed215f1bab0aaf9bcc77 (diff) | |
download | hercules-a761af9650e781a272fa3b22bc85eca3e141aed7.tar.gz hercules-a761af9650e781a272fa3b22bc85eca3e141aed7.tar.bz2 hercules-a761af9650e781a272fa3b22bc85eca3e141aed7.tar.xz hercules-a761af9650e781a272fa3b22bc85eca3e141aed7.zip |
Merge pull request #2655 from Kenpachi2k13/mem_leak_fix
Fix memory leak in npc_expanded_barter_fromsql() function
Diffstat (limited to 'src/map/npc.c')
-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; } |