diff options
| author | grischka <grischka> | 2009-07-06 21:10:14 +0200 |
|---|---|---|
| committer | unknown <gr@.(none)> | 2009-07-18 21:54:47 +0200 |
| commit | 0085c648f6e9f016f937107ce68651987b001ddf (patch) | |
| tree | c2cec73325d4890889747ca00e27089583fb7264 /lib/bcheck.c | |
| parent | c93ddac9aa466f11750be3f230e097c207104349 (diff) | |
| download | tinycc-0085c648f6e9f016f937107ce68651987b001ddf.tar.gz tinycc-0085c648f6e9f016f937107ce68651987b001ddf.tar.bz2 | |
bcheck: restore malloc hooks when done
Diffstat (limited to 'lib/bcheck.c')
| -rw-r--r-- | lib/bcheck.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bcheck.c b/lib/bcheck.c index 0ec2a4b..90590f5 100644 --- a/lib/bcheck.c +++ b/lib/bcheck.c @@ -423,6 +423,11 @@ void __bound_init(void) } } +void __bound_exit(void) +{ + restore_malloc_hooks(); +} + static inline void add_region(BoundEntry *e, unsigned long start, unsigned long size) { |
