Fix usage of pointer after free (#362)
Fix usage of pointer after free (#362)

* Set uninitialized variables

* Fix use after free

Causes errors "may be used after 'free'", since
`dec` is not allocated again after `free()`.
Also, removed assigning of `sizeof(dec)`, because
`dec` is not static array, but allocated.
Yubico/yubico-piv-tool,Yubico/yubico-piv-tool,Yubico/yubico-piv-tool