summaryrefslogtreecommitdiff
path: root/spectro/i1pro.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
commitc6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch)
treea90193f98739ad96e6ae676409022bd15a648aae /spectro/i1pro.c
parentc6267b450e6858fdff4360104b362d9da2e1806d (diff)
New upstream release
Diffstat (limited to 'spectro/i1pro.c')
-rw-r--r--spectro/i1pro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/spectro/i1pro.c b/spectro/i1pro.c
index 96335cc..816aee5 100644
--- a/spectro/i1pro.c
+++ b/spectro/i1pro.c
@@ -79,7 +79,7 @@ static inst_code i1pro_interp_code(i1pro *p, i1pro_code ec);
/* Establish communications with a I1DISP */
/* If it's a serial port, use the baud rate given, and timeout in to secs */
-/* Return DTP_COMS_FAIL on failure to establish communications */
+/* Return I1PRO_COMS_FAIL on failure to establish communications */
static inst_code
i1pro_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) {
i1pro *p = (i1pro *) pp;
@@ -806,6 +806,7 @@ i1pro_del(inst *pp) {
del_i1proimp(p);
if (p->icom != NULL)
p->icom->del(p->icom);
+ p->vdel(pp);
free(p);
}