Browse Source

Meilleur gestion memoire

Arthur Brandao 6 years ago
parent
commit
51ed15ef0e
1 changed files with 1 additions and 0 deletions
  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;
 }