mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	giomodule: return a copy of module name
This is a regression from commit 6dedc0. The clients expect to free the received module name, so the function must return a copy. https://bugzilla.gnome.org/show_bug.cgi?id=756952
This commit is contained in:
		
				
					committed by
					
						
						Ignacio Casal Quinteiro
					
				
			
			
				
	
			
			
			
						parent
						
							144a87a643
						
					
				
				
					commit
					3bb8294e00
				
			@@ -1036,7 +1036,7 @@ get_gio_module_dir (void)
 | 
			
		||||
#endif
 | 
			
		||||
      g_free (install_dir);
 | 
			
		||||
#else
 | 
			
		||||
      module_dir = GIO_MODULE_DIR;
 | 
			
		||||
      module_dir = g_strdup (GIO_MODULE_DIR);
 | 
			
		||||
#endif
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user