diff options
author | Martin Willi <martin@strongswan.org> | 2008-05-05 07:40:21 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-05-05 07:40:21 +0000 |
commit | 6c90949f18981cf6e5471e2644f30e488a55759b (patch) | |
tree | 82e7ee2817e789f2b5cb0466e16d02e491cd5915 /src | |
parent | 27d04e055defe459e49480dc88286e5fa87bffb9 (diff) | |
download | strongswan-6c90949f18981cf6e5471e2644f30e488a55759b.tar.bz2 strongswan-6c90949f18981cf6e5471e2644f30e488a55759b.tar.xz |
resetting old scheduling policy correctly in free() hook
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/utils/leak_detective.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c index aa9e61653..b979c40a7 100644 --- a/src/libstrongswan/utils/leak_detective.c +++ b/src/libstrongswan/utils/leak_detective.c @@ -463,7 +463,7 @@ void free_hook(void *ptr, const void *caller) } install_hooks(); - pthread_setschedparam(thread_id, oldpolicy, ¶ms); + pthread_setschedparam(thread_id, oldpolicy, &oldparams); } /** |