Skip to content

Commit

Permalink
Report (and free) err_info for WTAP_ERR_DECOMPRESS.
Browse files Browse the repository at this point in the history
Change-Id: I61ecc58be4b0688c43df0b0f006fb899bdc1721c
Reviewed-on: https://code.wireshark.org/review/4216
Reviewed-by: Guy Harris <[email protected]>
  • Loading branch information
guyharris committed Sep 20, 2014
1 parent e419ea8 commit be7f053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capinfos.c
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,7 @@ main(int argc, char *argv[])
case WTAP_ERR_UNSUPPORTED:
case WTAP_ERR_UNSUPPORTED_ENCAP:
case WTAP_ERR_BAD_FILE:
case WTAP_ERR_DECOMPRESS:
fprintf(stderr, "(%s)\n", err_info);
g_free(err_info);
break;
Expand Down

0 comments on commit be7f053

Please sign in to comment.