Commit 9bd0170eb36cb554301c8da8c12e73eb4189f743
authorMichel Pollet <buserror@gmail.com>
Sat, 13 Jun 2015 20:26:50 +0000 (21:26 +0100)
committerMichel Pollet <buserror@gmail.com>
Sat, 13 Jun 2015 20:26:50 +0000 (21:26 +0100)
tree70a005e65af162e29b85e7923251092e3dcd9fb5
parentd5f01a7dbdeaac43d37a76ee22494b7b917b452a
Message:
vcd: Prevent crash when close() is called twice

flahs() wasn't checking for a valid file pointer

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_vcd_file.c