Skip to content

Commit

Permalink
Update joined thread test case annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstanb committed Jul 31, 2023
1 parent c01585d commit 49a6d54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//PARAM: --set ana.activated[+] useAfterFree
//PARAM: --set ana.activated[+] useAfterFree --set ana.activated[+] threadJoins
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
Expand Down Expand Up @@ -26,7 +26,7 @@ int main() {

pthread_mutex_lock(&mtx);
*gptr = 43; //NOWARN
free(gptr); //WARN
free(gptr); //NOWARN
pthread_mutex_unlock(&mtx);

return 0;
Expand Down

0 comments on commit 49a6d54

Please sign in to comment.