summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2011-12-14 19:05:31 +0900
committerArnaud Fontaine <arnau@debian.org>2011-12-14 20:08:55 +0900
commit55597dda964d335e5f63892c1b37c36b90eeffb4 (patch)
tree1939a39a4c5839c895f0c88b19efc0e86353e5f7
parent3dbf96b34c732c74bc96abeb7d371579d20ce56f (diff)
Remove useless malloc().
-rw-r--r--transSet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/transSet.c b/transSet.c
index 3b62508..a59bd38 100644
--- a/transSet.c
+++ b/transSet.c
@@ -167,12 +167,10 @@ main (int argc, char **argv)
select_method = 1;
break;
case 'i':
- idstr = malloc (strlen (optarg) + 1);
idstr = optarg;
select_method = 2;
break;
case 'n':
- namestr = malloc (strlen (optarg) + 1);
namestr = optarg;
select_method = 3;
break;