diff options
author | Andy Shevchenko <ext-andriy.shevchenko@nokia.com> | 2009-08-28 15:16:54 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-28 17:12:44 +0200 |
commit | 300384ce0aa79bd86cdafa88848c6e944c0353b5 (patch) | |
tree | eb95d8af827f8aed4e3801046e4f922ff4dd59a6 /src/pulsecore/semaphore-posix.c | |
parent | ae383539d7001d59044e6d7e06e9270b65ae762b (diff) |
Fix checking for NULL after usage
The pa_xmalloc calls oom() in case of NULL pointer returned by malloc() on one
hand and dereferencing of pointer is happen early than actual check on other
hand. Thus, just remove useless checks.
Diffstat (limited to 'src/pulsecore/semaphore-posix.c')
0 files changed, 0 insertions, 0 deletions