aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2007-09-29 01:21:05 +0000
committerJason Woodward2007-09-29 01:21:05 +0000
commit91152df6a92d91767839bddba8ab8f0a86982261 (patch)
tree7fd85078b2e9b079fe9060ee9f5b07b95214d048
parent7c48cf399c477b12ec7a0917f5845b0240c0f37d (diff)
downloadgslapt-91152df6a92d91767839bddba8ab8f0a86982261.tar.gz
fixed invalid free of command line argument
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1087247..7e4f71a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -142,7 +142,6 @@ int main (int argc, char *argv[]) {
} else {
global_config = slapt_read_rc_config(rc);
strncpy(rc_location,rc,1023);
- g_free(rc);
disabled_sources = parse_disabled_package_sources(rc_location);
}
if (global_config == NULL)