summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-12-22 09:35:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-12-22 09:35:31 +0000
commit8fcfb0693bebd15ce676f246cbca7b2c41f81a0c (patch)
tree8c499a1b84066bc08665125f37f886e0a2755f09 /src/app.c
parentb6b50e9bf0e531fb61d8f3f89f1ec01af97636f6 (diff)
Tidy spacetime reporting.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index befa54e..00ca22f 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1335,9 +1335,10 @@ _client_move_block (Client *c, Allocator *A, gpointer old_addr, gpointer new_add
g_return_if_fail (b != NULL);
if (new_addr != old_addr) {
+ Allocator *original_allocator = b->allocator;
_client_delete_block (c, A, old_addr, time, max_time);
if (new_addr != NULL)
- _client_new_block (c, b->allocator,
+ _client_new_block (c, original_allocator,
new_addr, new_size, time, max_time);
} else {
AllocatorTime *At;