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/client.c | |
parent | 30111e5cf6ff5a7766296ac2579a98c16e7cc7c1 (diff) |
Fixed a memory leak when reading packed buffers.
Diffstat (limited to 'src/analysis/db/client.c')
-rw-r--r-- | src/analysis/db/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analysis/db/client.c b/src/analysis/db/client.c index 16d243a..f70c9e1 100644 --- a/src/analysis/db/client.c +++ b/src/analysis/db/client.c @@ -406,6 +406,8 @@ static bool g_db_client_start_common(GDbClient *client, const char *desc) * ou 'DBE_WRONG_VERSION' ... 'DBE_LOADING_ERROR'). */ + init_packed_buffer(&in_pbuf); + status = recv_packed_buffer(&in_pbuf, client->fd); if (!status) goto gdsc_error; |