wcap-decode: Close file descriptor when destroying the decoder

dev
Rob Bradford 12 years ago committed by Kristian Høgsberg
parent 45c15b83c0
commit 12a2ff3482
  1. 1
      wcap/wcap-decode.c

@ -144,6 +144,7 @@ void
wcap_decoder_destroy(struct wcap_decoder *decoder)
{
munmap(decoder->map, decoder->size);
close(decoder->fd);
free(decoder->frame);
free(decoder);
}

Loading…
Cancel
Save