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/dtp41.c | |
parent | c6267b450e6858fdff4360104b362d9da2e1806d (diff) |
New upstream release
Diffstat (limited to 'spectro/dtp41.c')
-rw-r--r-- | spectro/dtp41.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/dtp41.c b/spectro/dtp41.c index 5c3361c..44ac6c6 100644 --- a/spectro/dtp41.c +++ b/spectro/dtp41.c @@ -145,7 +145,7 @@ dtp41_command(dtp41 *p, char *in, char *out, int bsize, double to) { /* Establish communications with a DTP41 */ /* Use the baud rate given, and timeout in to secs */ -/* Return DTP_COMS_FAIL on failure to establish communications */ +/* Return DTP41_COMS_FAIL on failure to establish communications */ static inst_code dtp41_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) { dtp41 *p = (dtp41 *)pp; @@ -1085,7 +1085,8 @@ dtp41_del(inst *pp) { dtp41 *p = (dtp41 *)pp; if (p->icom != NULL) p->icom->del(p->icom); - free (p); + p->vdel(pp); + free(p); } /* Interogate the device to discover its capabilities */ |