diff options
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r-- | airpcap_loader.c | 2 |
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++) { |