Arthur Brandao 6 жил өмнө
parent
commit
51ed15ef0e
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      Serveur/game.c

+ 1 - 0
Serveur/game.c

@@ -28,6 +28,7 @@ JsonArray* list_map(){
         add_array_string(ja, result[i]);
         free(result[i]);
     }
+    free(result);
     return ja;
 }