forked from osmocom/wireshark
Hack toprevent checkAPIs complaining about use of 'free'
svn path=/trunk/; revision=27745
This commit is contained in:
parent
55905b97a8
commit
77310e2bb0
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue