Skip to content
  • Michael Natterer's avatar
    don't free or modify static strings, dup them when needed and clear the · 325bd373
    Michael Natterer authored
    2007-04-24  Michael Natterer  <mitch@imendio.com>
    
    	* gobject/gparamspecs.c (param_string_validate): don't free or
    	modify static strings, dup them when needed and clear the
    	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.
    
    	* tests/gobject/paramspec-test.c: test all GParamSpecString
    	validations with static and allocated strings.
    
    
    svn path=/trunk/; revision=5454
    325bd373