diff options
author | Erik Troan <ewt@src.gnome.org> | 1998-07-30 14:18:58 +0000 |
---|---|---|
committer | Erik Troan <ewt@src.gnome.org> | 1998-07-30 14:18:58 +0000 |
commit | c07ae55c2d6877060f269315d2561d67c036e6e3 (patch) | |
tree | f5f217770a2e7a0b0af5886d44114edcfc184daf /support/popt.c | |
parent | e46762a106dcdd06eb42b33b77512f60a58d9442 (diff) | |
download | shared-mime-info-c07ae55c2d6877060f269315d2561d67c036e6e3.tar.gz |
fixed stupif strdup() mistake
svn path=/trunk/; revision=309
Diffstat (limited to 'support/popt.c')
-rw-r--r-- | support/popt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/popt.c b/support/popt.c index 7d16614d..4bfd26c0 100644 --- a/support/popt.c +++ b/support/popt.c @@ -65,7 +65,7 @@ static char * strerror(int errno) { void poptSetExecPath(poptContext con, const char * path, int allowAbsolute) { if (con->execPath) free(con->execPath); - con->execPath = strdup(con->execPath); + con->execPath = strdup(path); con->execAbsolute = allowAbsolute; } |