Remove cppcheck-suppressions that were prev added

These cppcheck errors are occuring in code
that is untouched by this merge request.
This commit is contained in:
Melissa Elkadi
2021-03-02 13:10:09 -08:00
parent 15905c746d
commit 9fe1167f29
4 changed files with 1 additions and 4 deletions
@@ -339,7 +339,6 @@ extern "C" {
int itti_create_queue(const task_info_t *taskInfo) {
pthread_mutex_lock (&lock_nb_queues);
int newQueue=nb_queues++;
// cppcheck-suppress memleakOnRealloc
AssertFatal(tasks=(task_list_t **) realloc(tasks, nb_queues * sizeof(*tasks)),"");
tasks[newQueue]= new task_list_t;
pthread_mutex_unlock (&lock_nb_queues);