From 712088d0003c9f34241e32e9fc653c82b72742d6 Mon Sep 17 00:00:00 2001 From: Bruno Coudoin Date: Mon, 09 Oct 2006 21:04:26 +0000 Subject: All memory leaks fixed by Miguel DE IZARRA (miguel2i) * Makefile.mingw.in: removed deprecated assetml files * boards/flags/Makefile.am: cleanup * boards/flags/README: updated image source * boards/gcompris_pixmaps.assetml.in: removed, no more needed * src/boards/chess.c: (chess_create_item): fixed leak * src/boards/machpuzzle.c: (minigolf_destroy_all_items): fixed leak * src/boards/maze.c: (twoDdisplay): fixed leak * src/boards/menu2.c: (create_top): fixed leak * src/boards/python/electric.py: added windows support * src/boards/shapegame.c: (destroy_shape), (xmlGetProp_Double), (add_xml_shape_to_data): fixed leak * src/gcompris/bar.c: (gc_bar_start): no more show button by default * src/gcompris/config.c: (gc_config_start), (item_event_ok): fixed leak * src/gcompris/dialog.c: (gc_dialog): accept a dialog without a board running this is usefull to display dialog at statup when we don't find a board at all * src/gcompris/gameutil.c: (gc_file_find_absolute): fixed leak * src/gcompris/gcompris.c: (gc_cursor_set), (setup_window), (cleanup), (load_properties), (gc_init): memory leak, display a dialog now when no board are found * src/gcompris/menu.c: (_add_xml_to_data): fixed leak * src/gcompris/properties.c: (gc_prop_new): fixed leak * src/gcompris/skin.c: (gc_skin_free): fixed leak --- (limited to 'Makefile.mingw.in') diff --git a/Makefile.mingw.in b/Makefile.mingw.in index 1aff33d..6cb8f58 100644 --- a/Makefile.mingw.in +++ b/Makefile.mingw.in @@ -105,7 +105,7 @@ clean: # prep: mkdir -p $(GCOMPRIS_INSTALL_DIR)/share/$(pkgdatadir)/boards - cd boards ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude "Makefile" --exclude "Makefile.am" --exclude CVS --exclude .xvpics --exclude "*.assetml" * | ( cd ../$(GCOMPRIS_INSTALL_DIR)/share/$(pkgdatadir)/boards ; tar xf -) ; cd .. ; + cd boards ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude "Makefile" --exclude "Makefile.am" --exclude CVS --exclude .xvpics * | ( cd ../$(GCOMPRIS_INSTALL_DIR)/share/$(pkgdatadir)/boards ; tar xf -) ; cd .. ; @echo "-------------------------------------------------------------------------------" @echo " WARNING: MAKE SURE TO HAVE RUN A MAKE INSTALL OF GCOMPRIS IN /USR/LOCAL FIRST" @echo "-------------------------------------------------------------------------------" @@ -113,8 +113,6 @@ prep: cp -r /usr/local/share/locale/* $(GCOMPRIS_INSTALL_DIR)/share/locale/ @echo "Remove other .mo file not from gcompris" find ./win32-install-dir/share/locale/ -name \*.mo | grep -v gcompris.mo | xargs rm -f - @echo "Grab installed assetml files" - cp -r /usr/local/share/assetml $(GCOMPRIS_INSTALL_DIR)/share/ @echo "Copy pixmap" mkdir $(GCOMPRIS_INSTALL_DIR)/share/pixmaps cp gcompris.png $(GCOMPRIS_INSTALL_DIR)/share/pixmaps -- cgit v0.9.1