aboutsummaryrefslogtreecommitdiff
path: root/frontend/pl_gun_ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/pl_gun_ts.c')
-rw-r--r--frontend/pl_gun_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/pl_gun_ts.c b/frontend/pl_gun_ts.c
index 63cf33f..3ee9c25 100644
--- a/frontend/pl_gun_ts.c
+++ b/frontend/pl_gun_ts.c
@@ -106,7 +106,7 @@ struct tsdev *pl_gun_ts_init(void)
return ts;
fail_config:
- pts_close(ltsh);
+ pts_close(ts);
fail_open:
fail_dlsym:
dlclose(ltsh);