staging: rtl8188eu: memory leak in rtw_free_cmd_obj()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jul 2017 07:51:33 +0000 (10:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 07:13:53 +0000 (09:13 +0200)
commit011ce71609e9cd0751b495e24ff8c83fa8d7c7db
tree6ec0f0ee16356e44b38607d8f3d94e750e8a86b0
parent397fcd12e4890624228e25468a1ab5f6fc78a1e3
staging: rtl8188eu: memory leak in rtw_free_cmd_obj()

We were fixing checkpatch.pl warnings and accidentally reversed this
condition.

Fixes: 5b29aaaa1e3c ("staging: rtl8188eu: removes comparison to null")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c