]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
Merge topic branch t/overflow into master
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index f29080290424d95506ec643df567e24c2d095a74..3da39f324b83b2a6d83d1f468732f74cc4313ae2 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -960,7 +960,7 @@ static int command_post_monitor(struct sched *s, void *context)
                close(fd);
                return 0;
        }
-       client = para_malloc(sizeof(*client));
+       client = alloc(sizeof(*client));
        client->fd = fd;
        client->connect_time = *now;
        para_list_add(&client->node, &afs_client_list);