]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libcam: NULL out freed `ccb.cdm.matches` and `ccb.cdm.patterns` pointers
authorngie <ngie@FreeBSD.org>
Mon, 20 Mar 2017 16:30:02 +0000 (16:30 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 20 Mar 2017 16:30:02 +0000 (16:30 +0000)
commit0130b7813b4d5239e63a52c0ccd90563a3751996
tree97db2fd043b2b089e24fd2a3186f2060d31856ca
parentdb10b50bcda3d8706c72d974f04e556d3e21be04
libcam: NULL out freed `ccb.cdm.matches` and `ccb.cdm.patterns` pointers

This is being done to avoid potential double frees with the values.

Differential Revision: D9970
MFC after: 1 week
Reviewed by: imp
Sponsored by: Dell EMC Isilon
lib/libcam/camlib.c