Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: fail valgrind script if log file is non-emptyth/memleaks | Thomas Haller | 2015-02-09 | 1 | -0/+5 |
| | |||||
* | libnm/tests: enable valgrind for libnm tests | Thomas Haller | 2015-02-09 | 4 | -7/+19 |
| | |||||
* | libnm/tests: add valgrind suppressions | Thomas Haller | 2015-02-09 | 1 | -0/+180 |
| | |||||
* | libnm/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 3 | -9/+13 |
| | |||||
* | tests: enable valgrind tests for tests | Thomas Haller | 2015-02-09 | 15 | -0/+16 |
| | |||||
* | platform/tests: reenable valgrind tests | Thomas Haller | 2015-02-09 | 1 | -1/+1 |
| | | | | | | valgrind tests for platform were wrongly disabled. Fixes: e3784fa618dff2816a0a793b257d908ef2e99daa | ||||
* | tests: add valgrind suppression for callouts tests | Thomas Haller | 2015-02-09 | 1 | -0/+18 |
| | |||||
* | tests: add valgrind suppression for test-general-with-expect | Thomas Haller | 2015-02-09 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ==8781== Syscall param rt_sigaction(act->sa_flags) points to uninitialised byte(s) ==8781== at 0x5E547DD: __libc_sigaction (sigaction.c:64) ==8781== by 0x8149025: unref_unix_signal_handler_unlocked (gmain.c:4981) ==8781== by 0x81490BF: g_child_watch_finalize (gmain.c:5025) ==8781== by 0x8149535: g_source_unref_internal (gmain.c:1997) ==8781== by 0x814C377: g_main_context_dispatch (gmain.c:3094) ==8781== by 0x814C627: g_main_context_iterate.isra.24 (gmain.c:3713) ==8781== by 0x814CA39: g_main_loop_run (gmain.c:3907) ==8781== by 0x11AC8B: test_nm_utils_kill_child_async_do (test-general-with-expect.c:90) ==8781== by 0x119769: test_nm_utils_kill_child (test-general-with-expect.c:292) ==8781== by 0x81705E0: g_test_run_suite_internal (gtestutils.c:2067) ==8781== by 0x81707A5: g_test_run_suite_internal (gtestutils.c:2138) ==8781== by 0x8170B1A: g_test_run_suite (gtestutils.c:2189) ==8781== Address 0xffeffed28 is on thread 1's stack ==8781== { <insert_a_suppression_name_here> Memcheck:Param rt_sigaction(act->sa_flags) fun:__libc_sigaction fun:unref_unix_signal_handler_unlocked fun:g_child_watch_finalize fun:g_source_unref_internal fun:g_main_context_dispatch fun:g_main_context_iterate.isra.24 fun:g_main_loop_run fun:test_nm_utils_kill_child_async_do fun:test_nm_utils_kill_child fun:g_test_run_suite_internal fun:g_test_run_suite_internal fun:g_test_run_suite } | ||||
* | supplicant/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -3/+6 |
| | |||||
* | dhcp/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -0/+3 |
| | |||||
* | config/tests: fix memleak in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -7/+0 |
| | |||||
* | device: refactor dispose/cleanup of NMDevice to free members in finalize | Thomas Haller | 2015-02-09 | 1 | -3/+5 |
| | | | | | | | NMTestDevice does not invoke dispose(), hence it leaks memory which causes false warnings in testing. Some minor refactring to let dispose() clear the fields, but free it later in finalize(). This avoids memleaks in the NMTestDevice stub. | ||||
* | libnm/tests: fix memleaks in tests for valgrind | Thomas Haller | 2015-02-09 | 11 | -36/+79 |
| | |||||
* | ifcfg-rh/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -2/+17 |
| | |||||
* | ibft/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -2/+3 |
| | |||||
* | keyfile/tests: fix memleaks in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -0/+5 |
| | |||||
* | callouts/tests: fix memleak in test code for valgrind | Thomas Haller | 2015-02-09 | 1 | -5/+25 |
| | |||||
* | core/tests: fix memleak in tests to avoid valgrind warnings | Thomas Haller | 2015-02-09 | 1 | -4/+5 |
| | |||||
* | dhcp: fix memleak in process_dhclient_rfc3442_route() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | ifcfg-rh: fix memleak in write_ip4_aliases() and assert against overflow | Thomas Haller | 2015-02-09 | 1 | -4/+5 |
| | |||||
* | ifcfg-rh: fix memleaks in reader | Thomas Haller | 2015-02-09 | 1 | -23/+13 |
| | |||||
* | ifcfg-rh: fix memleak due to make_wpa_setting() returning both wsec and error | Thomas Haller | 2015-02-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | ==10501== 353 (32 direct, 321 indirect) bytes in 1 blocks are definitely lost in loss record 1,579 of 1,641 ==10501== at 0x7EE3728: g_type_create_instance (gtype.c:1847) ==10501== by 0x7EC75B4: g_object_new_internal (gobject.c:1746) ==10501== by 0x7EC945C: g_object_newv (gobject.c:1890) ==10501== by 0x7EC9C23: g_object_new (gobject.c:1556) ==10501== by 0x1CD87C: nm_setting_wireless_security_new (nm-setting-wireless-security.c:122) ==10501== by 0x16F70B: make_wpa_setting (reader.c:3010) ==10501== by 0x16F33F: make_wireless_security_setting (reader.c:3188) ==10501== by 0x161F4C: wireless_connection_from_ifcfg (reader.c:3464) ==10501== by 0x16109A: connection_from_file_full (reader.c:4763) ==10501== by 0x1614EE: connection_from_file_test (reader.c:4862) ==10501== by 0x13D1D6: test_read_wifi_wpa_psk_unquoted2 (test-ifcfg-rh.c:4316) ==10501== by 0x1281FD: main (test-ifcfg-rh.c:12513) ==10501== | ||||
* | ifcfg-rh: fix memleak in svSetValue() | Thomas Haller | 2015-02-09 | 1 | -8/+8 |
| | |||||
* | ibft: fix memleak in read_ibft_blocks() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | keyfile: fix memleak in parity_parser() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | config: fix memleak in NMConfigData keyfile | Thomas Haller | 2015-02-09 | 1 | -0/+2 |
| | |||||
* | config: fix memleak in read_config() | Thomas Haller | 2015-02-09 | 1 | -2/+4 |
| | |||||
* | libnm-util: only unref and don't destroy hash in nm_connection_to_hash() | Thomas Haller | 2015-02-09 | 2 | -4/+6 |
| | | | | | The returned hash from nm_connection_to_hash() used to destroy the nested hashes, instead of only unrefing them. | ||||
* | libnm: fix memleak in _nm_dbus_bind_properties() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | libnm: fix memleaks in nm_setting_802_1x | Thomas Haller | 2015-02-09 | 1 | -0/+2 |
| | |||||
* | libnm: fix memleak in nm_setting_wired_get_s390_option() and refactor | Thomas Haller | 2015-02-09 | 2 | -36/+30 |
| | | | | | @keys was leaked. Also refactor the function to iterate the hash only once. | ||||
* | libnm: fix memleak in find_virtual_interface_name() | Thomas Haller | 2015-02-09 | 1 | -1/+2 |
| | |||||
* | libnm: fix memleak in nm_connection_replace_settings() | Thomas Haller | 2015-02-09 | 1 | -0/+2 |
| | |||||
* | libnm: fix memleak in nm_utils_ip_addresses_from_variant() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | libnm: fix memleak for config in NMSettingTeamPort | Thomas Haller | 2015-02-09 | 2 | -0/+24 |
| | |||||
* | libnm: fix memleak for app_fcoe_mode in NMSettingDcb | Thomas Haller | 2015-02-09 | 2 | -2/+26 |
| | |||||
* | cli: fix memleak in nmc_setting_get_valid_properties() | Thomas Haller | 2015-02-09 | 1 | -0/+1 |
| | |||||
* | examples: add a Lua example showing basic NetworkManager information | Jiří Klimeš | 2015-02-09 | 2 | -1/+53 |
| | |||||
* | examples: add a Lua example for getting Wi-Fi access points | Jiří Klimeš | 2015-02-09 | 2 | -1/+81 |
| | |||||
* | tests: fix valgrind script to handle exit value 77 (skip) | Thomas Haller | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | callouts/tests: fix parsing dhcp in get_dispatcher_file() | Thomas Haller | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | wwan: recheck available connections when modem becomes unlocked (bgo #740966) | Dan Williams | 2015-02-05 | 1 | -0/+3 |
| | | | | | | | NMDevice rechecks available connections when the device moves to the DISCONNECTED state, but connections are not available if the modem is PIN locked at that time. Available connections were never re-checked when the modem was then unlocked while in the DISCONNECTED state. | ||||
* | core: fix session-monitor build with --with-session-tracking=none | Dan Williams | 2015-02-05 | 1 | -0/+2 |
| | |||||
* | wwan: fix wrong assert in deactivate_cleanup() | Lubomir Rintel | 2015-02-04 | 1 | -1/+2 |
| | | | | | | | | | | When the modem device is abruptly disconnected, nm_modem_device_state_changed() calls deactivate_cleanup() with a NULL device argument and that's perfectly fine. We should only check the instance type if we know the device is non-NULL. (NetworkManager:9166): NetworkManager-wwan-CRITICAL **: deactivate_cleanup: assertion 'NM_IS_DEVICE ( failed | ||||
* | config,connectivity: merge branch 'th/rh1066697_reload_config' | Thomas Haller | 2015-02-03 | 20 | -443/+1382 |
|\ | | | | | | | | | | | | | | | Refactor NMConfig to support reloading. Implement reloading of NMConnectivity parameters https://bugzilla.redhat.com/show_bug.cgi?id=1066697 | ||||
| * | config: use flags argument in config-changed signal instead of a hash tableth/rh1066697_reload_config | Thomas Haller | 2015-02-03 | 5 | -42/+66 |
| | | |||||
| * | config: make NMConfig implement GInitable | Thomas Haller | 2015-02-03 | 1 | -17/+36 |
| | | |||||
| * | config: move no-auto-default to NMConfigData | Thomas Haller | 2015-02-03 | 7 | -51/+143 |
| | | | | | | | | | | | | | | | | With this change, NMConfig is really immutable and all modifyable parts migrated to NMConfigData. Another advantage is that components can now subscribe to NMConfig changes to pickup changes to no-auto-default. | ||||
| * | config: refactor merging no_auto_default | Thomas Haller | 2015-02-03 | 1 | -16/+13 |
| | | |||||
| * | config: move keyfile values to NMConfigData | Thomas Haller | 2015-02-03 | 7 | -79/+121 |
| | |