alsa: Remove pointless initialization.
[paraslash.git] / ipc.c
diff --git a/ipc.c b/ipc.c
index 1ec53c3..89bbe53 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -209,6 +209,7 @@ size_t shm_get_shmmax(void)
                                buf[ret] = '\0';
                                shmmax = strtoul(buf, NULL, 10);
                        }
+                       close(fd);
                }
        }
 #elif defined SYSCTL_SHMMAX_VARIABLE