summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/ipcp-data.c')
-rw-r--r--src/ipcpd/ipcp-data.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ipcpd/ipcp-data.c b/src/ipcpd/ipcp-data.c
index 106226de..72407a53 100644
--- a/src/ipcpd/ipcp-data.c
+++ b/src/ipcpd/ipcp-data.c
@@ -189,11 +189,12 @@ void ipcp_data_destroy(struct ipcp_data * data)
clear_directory(data);
clear_flows(data);
- /* no need to unlock, just free the entire thing
- pthread_mutex_unlock(&data->flow_lock);
- pthread_mutex_unlock(&data->dir_lock);
- pthread_mutex_unlock(&data->reg_lock);
- */
+ /*
+ * no need to unlock, just free the entire thing
+ * pthread_mutex_unlock(&data->flow_lock);
+ * pthread_mutex_unlock(&data->dir_lock);
+ * pthread_mutex_unlock(&data->reg_lock);
+ */
free(data);
}