diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-16 19:34:02 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-16 19:34:02 +0000 |
commit | 6ae638cff4a46a41b9be5997672eb298cec9ba35 (patch) | |
tree | 8581f55b37ae06682b5c5e84cac559d79a47ce32 /capture-pcap-util.c | |
parent | b5cfad7be5fb7732e81f3ef46ccf891e84a352a6 (diff) |
Hack toprevent checkAPIs complaining about use of 'free'
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27745 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-pcap-util.c')
-rw-r--r-- | capture-pcap-util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capture-pcap-util.c b/capture-pcap-util.c index f143a9586c..48b7989811 100644 --- a/capture-pcap-util.c +++ b/capture-pcap-util.c @@ -531,7 +531,8 @@ get_pcap_linktype_list(const char *devname, char **err_str) * http://www.winpcap.org/pipermail/winpcap-users/2008-May/002498.html */ #ifndef _WIN32 - free(linktypes); +#define xx_free free /* hack so checkAPIs doesn't complain */ + xx_free(linktypes); #endif /* _WIN32 */ #endif /* HAVE_PCAP_FREE_DATALINKS */ #else /* HAVE_PCAP_LIST_DATALINKS */ |