summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-11-27 15:13:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-11-27 15:13:18 +0000
commit5a763b073e3bf6955c8e2c0ba72dda16465c66aa (patch)
tree2af5e66d13f546c519f77f59ef290a1231b0726b /src/frames.c
parent7f26498d9e5177a7c713ead2797c35bd1a862e8c (diff)
Limit the accumulated size_allocs to only active sizes.
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frames.c b/src/frames.c
index 6f311cb..1a54b4c 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -76,7 +76,7 @@ frames_add (Frames *frames,
if (f != NULL)
return;
- f = g_new (Frame, 1);
+ f = g_slice_new (Frame);
f->ip = ip;
tmp = NULL;
if (function == NULL && object != NULL) {