summaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_room.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-11-29 12:43:25 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2021-11-29 12:43:25 +0100
commitf8beb38c5e813ace4799cef75232f6e5c6b3a67b (patch)
tree25bd832d3a7a0ffbd89ff007056ba3144bdf5abd /src/messenger/gnunet-service-messenger_room.c
parentfdb9fc3b6f1333a05e093ed1a8aee63d6308ced1 (diff)
-fix messenger load-, store-operations and uninitialized memory
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/gnunet-service-messenger_room.c')
-rw-r--r--src/messenger/gnunet-service-messenger_room.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/messenger/gnunet-service-messenger_room.c b/src/messenger/gnunet-service-messenger_room.c
index d34665511..7f2fd0ca6 100644
--- a/src/messenger/gnunet-service-messenger_room.c
+++ b/src/messenger/gnunet-service-messenger_room.c
@@ -1188,11 +1188,7 @@ load_room (struct GNUNET_MESSENGER_SrvRoom *room)
load_list_tunnels(&(room->basement), basement_file);
GNUNET_free(basement_file);
- char *last_messages_file;
- GNUNET_asprintf (&last_messages_file, "%s%s", room_dir, "last_messages.list");
-
load_message_state(&(room->state), room_dir);
- GNUNET_free (last_messages_file);
}
GNUNET_free(room_dir);