]> asedeno.scripts.mit.edu Git - linux.git/commit
regmap: debugfs: Don't leak dummy names
authorMark Brown <broonie@kernel.org>
Mon, 5 Mar 2018 20:26:51 +0000 (20:26 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Mar 2018 20:26:51 +0000 (20:26 +0000)
commit46589e9c753b7c905e8671a89cbb9728f3b99855
tree4204eb8982f3a19db7ae8e17ada05bfe414835b8
parenta430ab205d29e7d1537b220fcf989b8080d8267f
regmap: debugfs: Don't leak dummy names

When allocating dummy names we need to store a pointer to the string we
allocate so that we don't leak it on free.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-debugfs.c