aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap_loader.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-16 14:32:01 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-03-16 14:32:01 +0000
commit30c957d40b78edef502ea34d5eaa71cc60802fb6 (patch)
tree0f686232ceb328167e1854e3f30b9cfcf48f5b2a /airpcap_loader.c
parent1803d98d963fae103bda5efd7ba8a4da7f24cb14 (diff)
Use g_malloc instead of malloc.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27738 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r--airpcap_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c
index 946239295f..d9b7d8a3dd 100644
--- a/airpcap_loader.c
+++ b/airpcap_loader.c
@@ -794,7 +794,7 @@ airpcap_if_get_device_supported_channels_array(PAirpcapHandle ah, PULONG pNumSup
if (numInfo == 0)
return NULL;
- pSupportedChannels = malloc(numInfo * (sizeof *pSupportedChannels));
+ pSupportedChannels = g_malloc(numInfo * (sizeof *pSupportedChannels));
for (i = 0; i < numInfo; i++)
{