inperror.c, release errMsg when it has been consumed
This commit is contained in:
parent
cea4eb09d6
commit
e67e9da202
|
|
@ -33,6 +33,7 @@ char *INPerror(int type)
|
|||
/*CDHW Lots of things set errMsg but it is never used so let's hack it in CDHW*/
|
||||
if ( errMsg ) {
|
||||
val = errMsg;
|
||||
errMsg = NULL;
|
||||
} else
|
||||
/*CDHW end of hack CDHW*/
|
||||
val = copy(SPerror(type));
|
||||
|
|
|
|||
Loading…
Reference in New Issue