X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=afs.c;h=5f47941e13cae9b43c454e5573fb26de6588f4e8;hb=a584fc87a0e2ab02168fe63a5571f0b5b48698c2;hp=aa008f995c6d7aa8cc0b935c419810c81749613e;hpb=b373e8efe59d7b8be0e07f42202d9611fb7472fa;p=paraslash.git 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)