about summary refs log tree commit diff stats
path: root/src/ui/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/buffer.c')
-rw-r--r--src/ui/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index 6a7f7818..c1d5e070 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -116,6 +116,7 @@ buffer_remove_entry_by_id(ProfBuff buffer, const char *const id)
         if (entry->id && (g_strcmp0(entry->id, id) == 0)) {
             _free_entry(entry);
             buffer->entries = g_slist_delete_link(buffer->entries, entries);
+            break;
         }
         entries = g_slist_next(entries);
     }