From f897c97de0b28cc2e48bba1bb9fc986fe4659819 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sat, 27 Aug 2016 23:22:09 +0200 Subject: irmd: Add state checks to api_entry Prevents double destruction. --- src/irmd/api_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irmd/api_table.h') diff --git a/src/irmd/api_table.h b/src/irmd/api_table.h index 0758fdb8..8741a86b 100644 --- a/src/irmd/api_table.h +++ b/src/irmd/api_table.h @@ -41,7 +41,7 @@ struct api_entry { pid_t api; char * apn; /* application process instantiated */ char * daf_name; /* DAF this AP-I belongs to */ - struct list_head names; /* names for which this api accepts flows */ + struct list_head names; /* names for which api accepts flows */ struct reg_entry * re; /* reg_entry for which a flow arrived */ -- cgit v1.2.3