summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-03 07:46:12 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-03 07:46:12 +0000
commita9780439e066ea76d7b5aa6af66a8a539c59b0cf (patch)
tree5cbde63721e07e7498bf952ac25df2c92139207c /src/main.c
parent88499797cc64ae0e563ef978ca2e08f38c4a6051 (diff)
issue 145 - fix my broken regex which was causing filenames to be treated as URLs. issue 141 - patch for showing mime type icons in file list.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 1afb37e..ec895f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -101,9 +101,9 @@ int main(int argc, char *argv[])
gboolean withUnique;
#endif
-#ifdef DEBUG
- //GMemVTable gmvt = {malloc,realloc,free,calloc,malloc,realloc};
- //g_mem_set_vtable(&gmvt);
+#ifdef TRG_MEMPROFILE
+ GMemVTable gmvt = {malloc,realloc,free,calloc,malloc,realloc};
+ g_mem_set_vtable(&gmvt);
g_mem_set_vtable(glib_mem_profiler_table);
g_mem_profile();
#endif