void QSfree (void *ptr)
/* p is a QSprob, a handle to an existing LP problem. */ char *objname; objname = QSget_objname (p); if (objname == (char *) NULL) { fprintf (stderr, "Could not obtain the objective name\n"); } else { printf ("Objective Name: %s\n", objname); QSfree (objname); /* Use QSfree for mem allocated by QSopt */ }