2006-02-04 Hans Breuer <hans@breuer.org>
commit81c2859628fc0d3d7aa909afa3fe036c73d5fc31
authorhans <hans>
Sat, 4 Feb 2006 19:34:03 +0000 (4 19:34 +0000)
committerhans <hans>
Sat, 4 Feb 2006 19:34:03 +0000 (4 19:34 +0000)
treebca6389a112f4c9a8ad1f35be149b55ab54a44e1
parent497b2bc202f8a597ab6701da0f19cf33454b299e
2006-02-04  Hans Breuer  <hans@breuer.org>

Code review via regex "[^_l>p](malloc|free|realloc)\("
* objects/fs/function.c : what's g_strdup() must be g_free()'d
* plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
* plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()

* app/filedlg.c(file_save_as_response_callback) : before destroying
the save as dialog we need to drop the dialogs diagram reference.
Fixes behaviour described in bug #123225#c7

* app/interface.c(get_sheet_names) : need to sort sheets by their
display name to really fix bug #160101.

* objects/UML/association.c : dont leak the role_name calculated
with visibility attribute, use g_strdup_printf() instead of strcat().

* configure.in : fix typo in error message

* lib/object.c : remove duplicated prototype
* lib/element.c : element_update_connections_rectangle() assumes nine
connection points, i.e. requires 'mainpoint'. g_assert() for this.
ChangeLog
app/filedlg.c
app/interface.c
configure.in
lib/element.c
lib/object.c
objects/FS/function.c
objects/UML/association.c
plug-ins/dxf/dxf-import.c
plug-ins/xfig/xfig-import.c