summaryrefslogtreecommitdiff
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c
index 77a976ca66..fcc2581a49 100644
--- a/epan/tvbtest.c
+++ b/epan/tvbtest.c
@@ -441,8 +441,8 @@ int
main(void)
{
/* For valgrind: See GLib documentation: "Running GLib Applications" */
- setenv("G_DEBUG", "gc-friendly", 1);
- setenv("G_SLICE", "always-malloc", 1);
+ g_setenv("G_DEBUG", "gc-friendly", 1);
+ g_setenv("G_SLICE", "always-malloc", 1);
except_init();
run_tests();