Another couple of Coverity related cleanups

This commit is contained in:
Steve Underwood committed 2014-04-30 22:51:59 +08:00
1 parent 8ad8ae8e86
commit 0ebc79457e
2 files changed
+7 -2

No files matched your search

+3 -1
View File
@@ -156,9 +156,11 @@ SPAN_DECLARE(int) span_schedule_release(span_sched_state_t *s)
SPAN_DECLARE(int) span_schedule_free(span_sched_state_t *s)
{
span_schedule_release(s);
if (s)
{
span_schedule_release(s);
span_free(s);
}
return 0;
}
/*- End of function --------------------------------------------------------*/