[gnumeric] sstest: plug leak.



commit 4ae6f8cbf19c3833095703e1996fa8d80d6f8800
Author: Morten Welinder <terra gnome org>
Date:   Sat Mar 12 12:18:58 2022 -0500

    sstest: plug leak.

 src/sstest.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/sstest.c b/src/sstest.c
index 55c6fe759..1e2c3b7a5 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -3527,7 +3527,9 @@ test_recalc (GOCmdContext *cc, const char *url)
                                g_printerr ("NOTE: %s!%s is volatile.\n",
                                            cell->base.sheet->name_unquoted,
                                            cell_name (cell));
-               }});
+               }
+               g_ptr_array_free (scells, TRUE);
+               });
        base_values = get_cell_values (cells);
 
        g_printerr ("Changing the contents of %d cells, one at a time...\n", cells->len);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]