diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-02 11:49:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-02 11:49:55 (GMT) |
commit | 7ebe360e85dceb8db580fd76ec8f4d6865e8a5aa (patch) | |
tree | 9057208c869117f1b2d141b725f284ac59c120cb /src/analysis/db/server.c | |
parent | 30111e5cf6ff5a7766296ac2579a98c16e7cc7c1 (diff) |
Fixed a memory leak when reading packed buffers.
Diffstat (limited to 'src/analysis/db/server.c')
-rw-r--r-- | src/analysis/db/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analysis/db/server.c b/src/analysis/db/server.c index f6c7a71..eaf3775 100644 --- a/src/analysis/db/server.c +++ b/src/analysis/db/server.c @@ -640,6 +640,8 @@ static void *g_db_server_listener(GDbServer *server) * Tout ceci est à synchroniser avec la fonction g_db_client_start(). */ + init_packed_buffer(&in_pbuf); + status = recv_packed_buffer(&in_pbuf, fd); if (!status) { |