[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] sample.c and glp_free_env()

From: Robbie Morrison
Subject: [Help-glpk] sample.c and glp_free_env()
Date: Wed, 27 Feb 2008 20:06:08 +0100
User-agent: Thunderbird (X11/20071023)

Hello Andrew and GLPK users

With reference to the tutorial problem in the GLPK
Reference Manual for version 4.25.

Is there any merit in adding the following statement to
'sample.c' on page 13:

  s38:  glp_free_env();

This statement prevents 140 bytes of leaked memory on
exit -- and should probably be seen as good practice in
the absence of other considerations.

cheers, Robbie
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Institute for Energy Engineering (IET)
Technical University of Berlin (TU-Berlin), Germany
Webmail (preferred)           : address@hidden
[from IMAP client]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]