]> jfr.im git - solanum.git/blobdiff - src/packet.c
MyMalloc -> rb_malloc
[solanum.git] / src / packet.c
index b3647722873df29df29c27240f6f1af41168f8a7..038ddca3cc653c63b2d10d7a5d0fc7f256d1fb65 100644 (file)
@@ -282,7 +282,7 @@ read_ctrl_packet(int fd, void *data)
                        reply->datalen |= *len;
                        reply->gotdatalen++;
                        if(reply->datalen > 0)
-                               reply->data = MyMalloc(reply->datalen);
+                               reply->data = rb_malloc(reply->datalen);
                }
 
                if(reply->gotdatalen < 2)
@@ -319,7 +319,7 @@ read_ctrl_packet(int fd, void *data)
 
        /* reset SlinkRpl */
        if(reply->datalen > 0)
-               MyFree(reply->data);
+               rb_free(reply->data);
        reply->command = 0;
 
        if(IsAnyDead(server))