mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	gobject/tests/param: Fix a memory leak
This commit is contained in:
		@@ -905,6 +905,7 @@ main (int argc, char *argv[])
 | 
				
			|||||||
                                         data.use_this_flag, data.use_this_type);
 | 
					                                         data.use_this_flag, data.use_this_type);
 | 
				
			||||||
            test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
 | 
					            test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
 | 
				
			||||||
            g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
 | 
					            g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
 | 
				
			||||||
 | 
					            g_free (test_data);
 | 
				
			||||||
            g_free (test_path);
 | 
					            g_free (test_path);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user