fs: tftp: fix memory hole
dpath() returns a pointer to an allocated string, so we have to free it.
Put the pointer into our file private data and free it on close time.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4e43a0f commit 0909ed8f4b4c4aeadb8b39ecbe9462f58a8b9edd
@Sascha Hauer Sascha Hauer authored on 30 Aug 2018
Showing 1 changed file
View
fs/tftp.c