diff options
Diffstat (limited to 'util/w32reg.c')
-rw-r--r-- | util/w32reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/w32reg.c b/util/w32reg.c index 01ca5df89..0cf38090f 100644 --- a/util/w32reg.c +++ b/util/w32reg.c @@ -71,7 +71,7 @@ read_w32_registry_string( const char *root, const char *dir, const char *name ) if( !result ) goto leave; if( RegQueryValueEx( key_handle, name, 0, NULL, result, &n1 ) ) { - m_free(result); result = NULL; + free(result); result = NULL; goto leave; } result[nbytes] = 0; /* make sure it is really a string */ |