diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/glibext/gbufferline.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +17-01-04 Cyrille Bagard <nocbos@gmail.com> + + * src/glibext/gbufferline.c: + Unreference all relative segments when a line is deleted. + 17-01-03 Cyrille Bagard <nocbos@gmail.com> * src/glibext/gbuffercache.c: diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c index 3b89a0d..5a7e53d 100644 --- a/src/glibext/gbufferline.c +++ b/src/glibext/gbufferline.c @@ -235,8 +235,10 @@ static void g_buffer_line_dispose(GBufferLine *line) static void g_buffer_line_finalize(GBufferLine *line) { - /* TODO : segments des colonnes... */ + BufferLineColumn i; /* Boucle de parcours */ + for (i = 0; i < BLC_COUNT; i++) + reset_line_column(&line->columns[i]); if (line->origins != NULL) free(line->origins); |