removed duplicated (and dangerous) call to close(2)

This commit is contained in:
Paul Davis 2014-03-14 15:16:15 -04:00
parent 83a5eadcf8
commit f05fe6a3fb

View File

@ -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);