X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ipc.c;h=b8a6fd0c3733d16faa0f35179329d563381c9ec8;hp=1ec53c30204e336a9b75a1992d063910c618e80d;hb=f299d434d44ea21e598396d163b2b1be5ba8d4a0;hpb=650e5374914c1eb725ce7d2a720611bec22112bc diff --git a/ipc.c b/ipc.c index 1ec53c30..b8a6fd0c 100644 --- a/ipc.c +++ b/ipc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2013 Andre Noll + * Copyright (C) 2006-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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