After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 109316 - Documentation tells to manually free get_path return value.
Documentation tells to manually free get_path return value.
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.2
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-03-27 09:53 UTC by Markus Gerwinski
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Markus Gerwinski 2003-03-27 09:53:08 UTC
The reference documentation for the method Gtk::TreeModel::get_path() tells
you to manually free the returned Gtk::TreePath instance using
gtk_tree_path_free(). This instruction is most probably obsolete and should
be removed from the documentation. Developers using Gtkmm can ignore it: The
get_path return value needn't be manually freed.
Comment 1 Murray Cumming 2003-03-28 07:52:37 UTC
We should also search for other *_free() functions in our
documentation. I guess we could grep the HTML.
Comment 2 Murray Cumming 2003-03-30 17:20:49 UTC
In both branches:

2003-03-30  Murray Cumming  <murrayc@usa.net>
 
        * gtk/gtk_docs_override.xml, likewise atk, pango: Added
overrides for
        docs that mention *_free() functions.