Set handle->logstream to null after fclose()
commitab9187d07de03e6545881a72180e76e728317bb9
authorDan McGee <dan@archlinux.org>
Tue, 1 Apr 2008 22:44:30 +0000 (1 17:44 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 1 Apr 2008 23:08:58 +0000 (1 18:08 -0500)
tree76970a8f5332d4edf8ccfcaea9c48e53207370eb
parentd9b9e60d7d4943ec0395a66bd40d22089cfbee35
Set handle->logstream to null after fclose()

We correctly closed the logfile stream when recalling set_logfile, but did
not NULL out the dead pointer once we did this. Fix the problem which was
the cause of FS#10056.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/handle.c