From f05fe6a3fbbab16bfd17f419a8a7b1cd349a8d89 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 14 Mar 2014 15:16:15 -0400 Subject: removed duplicated (and dangerous) call to close(2) --- libs/gtkmm2ext/motionfeedback.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'libs') diff --git a/libs/gtkmm2ext/motionfeedback.cc b/libs/gtkmm2ext/motionfeedback.cc index bef934eca5..e8e7ceacc2 100644 --- a/libs/gtkmm2ext/motionfeedback.cc +++ b/libs/gtkmm2ext/motionfeedback.cc @@ -475,7 +475,6 @@ MotionFeedback::render_pixbuf (int size) GError *error = NULL; fd = g_file_open_tmp ("mfimgXXXXXX", &path, &error); - close (fd); if(error) { g_critical("failed to open a temporary file for writing: %s.", error->message); -- cgit v1.2.3