agent: Avoid uninitialized access in GENKEY command on parameter error.
* agent/command.c (cmd_genkey): Moved init_membuf to the top.
This is part of
(cherry picked from commit 379fc5569d604c4a7b5f12b2bbfc4106893c2a9e)
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>
- GnuPG-bug-id: T7129