summaryrefslogtreecommitdiff
path: root/epan/dissectors/snort-config.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-02-21 09:57:16 -0800
committerGuy Harris <guy@alum.mit.edu>2017-02-21 19:03:43 +0000
commit012a179785abada629fa324652755c6acb51be74 (patch)
treeaae93d60d53ba7dd5aabfbad2b80ce3d3fb0df1d /epan/dissectors/snort-config.h
parentf04e7702c48f1c57568f1c6c21a093e71513b2c2 (diff)
downloadwireshark-012a179785abada629fa324652755c6acb51be74.tar.gz
Fix a double free.
In create_persconffile_profile, pf_dir_path_copy needs to be allocated separately since the subsequent call to get_dirname is destructive. Add back a call to g_strdup. This should hopefully fix a crash in the Win32 buildbot. Change-Id: I591b5845032c9b8a5324bf6ac60fc43d1e92ac2e Reviewed-on: https://code.wireshark.org/review/20231 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/snort-config.h')
0 files changed, 0 insertions, 0 deletions