summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2009-03-02 20:32:07 +0000
committerAlan Hourihane <alanh@vmware.com>2009-03-02 20:32:07 +0000
commit618b555bc2f5342a6baa88acdc7cd07883203ac0 (patch)
treec37773975ce3bc4432311d5d4bb1eea2640418af
parente60a9fe8c9f870f086ff2a246cd50860037a922d (diff)
ordering problem in free
-rw-r--r--src/wsbm_slabpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wsbm_slabpool.c b/src/wsbm_slabpool.c
index 17c184c..e1b4228 100644
--- a/src/wsbm_slabpool.c
+++ b/src/wsbm_slabpool.c
@@ -506,9 +506,9 @@ wsbmAllocSlab(struct _WsbmSlabSizeHeader *header)
}
sBuf++;
}
+ free(slab->buffers);
out_err1:
wsbmSetKernelBOFree(header->slabPool->cache, slab->kbo);
- free(slab->buffers);
out_err0:
free(slab);
return ret;