X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.c;h=5f47941e13cae9b43c454e5573fb26de6588f4e8;hp=aa008f995c6d7aa8cc0b935c419810c81749613e;hb=dded41e5bed40cca8876e1056351cc1dbab309d0;hpb=f37c5c599f5a858a44df7739613d55aeea078921 diff --git a/afs.c b/afs.c index aa008f99..5f47941e 100644 --- a/afs.c +++ b/afs.c @@ -892,7 +892,7 @@ static int call_callback(int fd, int query_shmid) query.data = (char *)query_shm + sizeof(*cq); query.size = cq->query_size; cq->handler(fd, &query); - return 1; + return shm_detach(query_shm); } static int execute_server_command(void)