I think there is a small space-leak in the current definition of the following
function in hugs.c (getenv is called twice):

String fromEnv(var,def)         /* return value of:                        */
String var;                     /*     environment variable named by var   */
String def; {                   /* or: entry in registry (Win32 only)      */
    String s = getenv(var);     /* or: default value given by def          */
    s = getenv(var);
    return (s ? s : def);


Reply via email to