Hello there,

[linux-4.2-rc4/drivers/staging/wilc1000/linux_mon.c:264]: (error) Memory leak: 
mgmt_tx

Source code is

    mgmt_tx->buff = kmalloc(len, GFP_ATOMIC);
    if (mgmt_tx->buff == NULL) {
        PRINT_ER("Failed to allocate memory for mgmt_tx buff\n");
        return WILC_FAIL;

    }

Suggest add missing call to kfree.


Regards

David Binderman

                                          --
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to