diff options
Diffstat (limited to 'spectro/dtp20.c')
-rw-r--r-- | spectro/dtp20.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spectro/dtp20.c b/spectro/dtp20.c index 6af2484..a504803 100644 --- a/spectro/dtp20.c +++ b/spectro/dtp20.c @@ -217,7 +217,7 @@ double top) { /* Timout in seconds */ } /* Establish communications with a DTP20 */ -/* Return DTP20_COMS_FAIL on failure to establish communications */ +/* Return DTP_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,8 +1402,7 @@ dtp20_del(inst *pp) { dtp20 *p = (dtp20 *)pp; if (p->icom != NULL) p->icom->del(p->icom); - p->vdel(pp); - free(p); + free (p); } /* Set the instrument capabilities */ |