public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/5] lib/aux: Plug memory leak in __igt_lsof_fds
@ 2019-03-07 11:24 Petri Latvala
  2019-03-07 11:24 ` [igt-dev] [PATCH i-g-t 2/5] lib/aux: Plug memory leak in get_suspend_test Petri Latvala
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Petri Latvala @ 2019-03-07 11:24 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Add a missing closedir call.

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
 lib/igt_aux.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index ff98d91d..e5d41e32 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -1419,6 +1419,8 @@ again:
 		free(copy_fd_lnk);
 		free(fd_lnk);
 	}
+
+	closedir(dp);
 }
 
 /*
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-03-07 18:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-07 11:24 [igt-dev] [PATCH i-g-t 1/5] lib/aux: Plug memory leak in __igt_lsof_fds Petri Latvala
2019-03-07 11:24 ` [igt-dev] [PATCH i-g-t 2/5] lib/aux: Plug memory leak in get_suspend_test Petri Latvala
2019-03-07 12:09   ` Chris Wilson
2019-03-07 12:10     ` Chris Wilson
2019-03-07 12:37   ` [igt-dev] [PATCH i-g-t v2 " Petri Latvala
2019-03-07 12:39     ` Chris Wilson
2019-03-07 11:24 ` [igt-dev] [PATCH i-g-t 3/5] lib/debugfs: Ensure null-termination in igt_hpd_storm_detected Petri Latvala
2019-03-07 12:11   ` Chris Wilson
2019-03-07 11:24 ` [igt-dev] [PATCH i-g-t 4/5] lib/fb: Add missing break in get_yuv_parameters Petri Latvala
2019-03-07 11:24 ` [igt-dev] [PATCH i-g-t 5/5] lib/igt_pm: Avoid out-of-bounds reads and writes Petri Latvala
2019-03-07 12:16   ` Chris Wilson
2019-03-07 13:01   ` [igt-dev] [PATCH i-g-t v2 " Petri Latvala
2019-03-07 13:13     ` Chris Wilson
2019-03-07 12:08 ` [igt-dev] [PATCH i-g-t 1/5] lib/aux: Plug memory leak in __igt_lsof_fds Chris Wilson
2019-03-07 17:04 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/5] lib/aux: Plug memory leak in __igt_lsof_fds (rev4) Patchwork
2019-03-07 18:10 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox