[iksemel] Fix potential memory leak in iksroster
This commit is contained in:
parent
d8c3595076
commit
fa6d0c4157
|
@ -299,6 +299,7 @@ main (int argc, char *argv[])
|
|||
strtok (to_pw, "\r\n");
|
||||
break;
|
||||
case 'f':
|
||||
if (file) free(file);
|
||||
file = strdup (optarg);
|
||||
break;
|
||||
case 't':
|
||||
|
|
Loading…
Reference in New Issue