diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-25 12:33:50 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-25 12:33:50 +0000 |
commit | 60fd496f49390a00612b195a93fb3d89f3f161fa (patch) | |
tree | 60e96ba32da02cbb31e5438bfcc283be1c3a3cd2 /src/frames.c | |
parent | 254e41a8d6aa112389ac836460d0edaed6d80eaf (diff) |
Match more common allocation functions.
Diffstat (limited to 'src/frames.c')
-rw-r--r-- | src/frames.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frames.c b/src/frames.c index dea9760..dd281a1 100644 --- a/src/frames.c +++ b/src/frames.c @@ -231,16 +231,15 @@ static void _frames_init_alloc_fns (Frames *frames) { const gchar *patterns[] = { - "malloc", + "[mMcCzZ]alloc", "operator new", "__builtin_new", "__builtin_vec_new", - "calloc", "realloc", "memalign", "g_.*alloc", - "([sS]trn?|mem)dup", + "([sS]trn?|[mM]em)dup", "ft_.*alloc", "FT_New_Memory", /* FreeType */ "_hb_.*alloc", /* HarfBuzz */ "X.*alloc" /* xorg */ |