Browse Source

Bugfix: RPC: Release io_data->ptr when releasing io_data in io_free()

Maksym Borodin 12 years ago
parent
commit
9f53f59609
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -732,6 +732,7 @@ static void io_free()
 		do {
 			io_next = io_list->next;
 
+			free(io_list->io_data->ptr);
 			free(io_list->io_data);
 			free(io_list);