* hppa-dis.c (print_insn_hppa): Change condition args to use
[deliverable/binutils-gdb.git] / gdb / rdi-share / devsw.c
index 590b81241e8dd07cb4f9c57bdd9d553a26e82748..7fa142b4722de36e07b9b65638e11b0aad62d8a9 100644 (file)
@@ -265,6 +265,10 @@ AdpErrs DevSW_Close(const DeviceDescr *device, const DevChanID type)
          pk = Adp_removeFromQueue(&(ds->ds_readqueue[type])))
         DevSW_FreePacket(pk);
 
+    /* Free memory */
+    free ((char *) device->SwitcherState);
+    device->SwitcherState = 0x0;
+
     /* that's all */
     return adp_ok;
 }
This page took 0.023132 seconds and 4 git commands to generate.