diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-06 07:40:42 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-06 07:40:42 +0100 |
commit | c6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch) | |
tree | a90193f98739ad96e6ae676409022bd15a648aae /spectro/dtp20.c | |
parent | c6267b450e6858fdff4360104b362d9da2e1806d (diff) |
New upstream release
Diffstat (limited to 'spectro/dtp20.c')
-rw-r--r-- | spectro/dtp20.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/dtp20.c b/spectro/dtp20.c index a504803..6af2484 100644 --- a/spectro/dtp20.c +++ b/spectro/dtp20.c @@ -217,7 +217,7 @@ double top) { /* Timout in seconds */ } /* Establish communications with a DTP20 */ -/* Return DTP_COMS_FAIL on failure to establish communications */ +/* Return DTP20_COMS_FAIL on failure to establish communications */ static inst_code dtp20_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) { dtp20 *p = (dtp20 *)pp; @@ -1402,7 +1402,8 @@ dtp20_del(inst *pp) { dtp20 *p = (dtp20 *)pp; if (p->icom != NULL) p->icom->del(p->icom); - free (p); + p->vdel(pp); + free(p); } /* Set the instrument capabilities */ |