diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-08-30 12:06:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-08-30 12:34:25 +0200 |
commit | 0909ed8f4b4c4aeadb8b39ecbe9462f58a8b9edd (patch) | |
tree | 3d336b1f6e4e7ee69cd2bfe1d47cf65d09a226b3 /dts | |
parent | 4e43a0f1e3d59b13e1cb389c8c30159eb0cf10a7 (diff) | |
download | barebox-0909ed8f4b4c4aeadb8b39ecbe9462f58a8b9edd.tar.gz barebox-0909ed8f4b4c4aeadb8b39ecbe9462f58a8b9edd.tar.xz |
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>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions