diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-01-03 23:44:20 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-01-03 23:44:20 (GMT) |
commit | 73308548c2be7f6480f3c898ceb6d01ae4e3f64c (patch) | |
tree | 437462351d83b1383ad16917021f111df8cdc7ba /src | |
parent | 539a8247acabfba21bbcb20ff14793f92ba34d4c (diff) |
Unreferenced all relative segments when a line is deleted.
Diffstat (limited to 'src')
-rw-r--r-- | src/glibext/gbufferline.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |