]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mood.c
string: Rename para_calloc() -> zalloc().
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index b3f007b68fe07c46f500d1aaa7dffdfe9503f451..161d8df0bb344c336f0754e72b127948330bc0a3 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -138,7 +138,7 @@ static void destroy_mood(struct mood *m)
 
 static struct mood *alloc_new_mood(const char *name)
 {
-       struct mood *m = para_calloc(sizeof(struct mood));
+       struct mood *m = zalloc(sizeof(struct mood));
        if (name)
                m->name = para_strdup(name);
        return m;