=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-source-file.c,v retrieving revision 1.51 retrieving revision 1.52 diff -c -r1.51 -r1.52 *** src/usr.bin/tmux/cmd-source-file.c 2021/08/21 10:22:39 1.51 --- src/usr.bin/tmux/cmd-source-file.c 2021/08/22 13:48:29 1.52 *************** *** 1,4 **** ! /* $OpenBSD: cmd-source-file.c,v 1.51 2021/08/21 10:22:39 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-source-file.c,v 1.52 2021/08/22 13:48:29 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha *************** *** 180,191 **** free(pattern); continue; } - free(expanded); free(pattern); for (j = 0; j < g.gl_pathc; j++) cmd_source_file_add(cdata, g.gl_pathv[j]); } cdata->after = item; cdata->retval = retval; --- 180,191 ---- free(pattern); continue; } free(pattern); for (j = 0; j < g.gl_pathc; j++) cmd_source_file_add(cdata, g.gl_pathv[j]); } + free(expanded); cdata->after = item; cdata->retval = retval;