client: Fixing invalid use after free()
authorErwan Velu <erwan@redhat.com>
Tue, 3 Oct 2017 08:56:09 +0000 (10:56 +0200)
committerErwan Velu <erwan@redhat.com>
Tue, 3 Oct 2017 15:27:51 +0000 (17:27 +0200)
commit7d9407b76e1fd0c2745ff097fbc4ce8442169f1d
tree494c6cfa76f739ea8c876acfef0d3d216abf2ae2
parent44edeed343a217952f1c84bdee64547369450f5f
client: Fixing invalid use after free()

As per commit be6fa258, reply->opcode is now called after freeing the structure.

This patch move the check of reply->opcode before freeing reply.

Signed-off-by: Erwan Velu <erwan@redhat.com>
client.c