summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-14 15:16:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-14 15:16:15 -0400
commitf05fe6a3fbbab16bfd17f419a8a7b1cd349a8d89 (patch)
treef04fad5b354230ba8d6a1529b81ae23c06dd9392 /libs
parent83a5eadcf88620e692ab32a17184d794f76a00cd (diff)
removed duplicated (and dangerous) call to close(2)
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/motionfeedback.cc1
1 files changed, 0 insertions, 1 deletions
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);