| commit | db767b6f45ec0b71f28fc004708705e22d8011d6 | [log] [tgz] |
|---|---|---|
| author | hujun5 <hujun5@xiaomi.com> | Wed May 17 20:26:36 2023 +0800 |
| committer | Xiang Xiao <xiaoxiang781216@gmail.com> | Sat May 20 12:42:35 2023 +0800 |
| tree | fc95f5f12657c4320cbbc2427fb005329e83c523 | |
| parent | 23948824b2b7d32141009393ee8a63bfa552905f [diff] |
ostest/sighand_test: sem need to be destroyed Signed-off-by: hujun5 <hujun5@xiaomi.com>
diff --git a/testing/ostest/sighand.c b/testing/ostest/sighand.c index de29355..82093a1 100644 --- a/testing/ostest/sighand.c +++ b/testing/ostest/sighand.c
@@ -328,4 +328,6 @@ printf("sighand_test: done\n"); FFLUSH(); + sem_destroy(&sem2); + sem_destroy(&sem1); }