Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [f716d5] Maximize Restore History

Use proper ref counting to free transaction_model's CustomList

The tree widget in the main window holds a reference to the transaction
model but (the horribly named) transaction_model_initialize() would free
up everything inside it.

Since CustomList _is_ a fully-fledged GObject, using its reference count
seems like an obvious solution to invalid memory errors (caught using
valgrind).
(cherry picked from commit e56f694f756e618388ed8fb4b863f03ad4e63e8f)

Rémi Cardona Rémi Cardona 2013-02-14

pbiava pbiava 2013-03-17

changed src/custom_list.c
changed src/traitement_variables.c
changed src/transaction_list.c
changed src/transaction_model.c
changed src/transaction_model.h
src/custom_list.c Diff Switch to side-by-side view
Loading...
src/traitement_variables.c Diff Switch to side-by-side view
Loading...
src/transaction_list.c Diff Switch to side-by-side view
Loading...
src/transaction_model.c Diff Switch to side-by-side view
Loading...
src/transaction_model.h Diff Switch to side-by-side view
Loading...