Fix a small leak and re-utf8 of grep cmd / extra options in Messages
commitf5cad4365aaa7a85c5ac8673ce6362c5bd10fec9
authorDimitar Zhekov <dimitar.zhekov@gmail.com>
Thu, 26 Mar 2015 16:31:08 +0000 (26 18:31 +0200)
committerDimitar Zhekov <dimitar.zhekov@gmail.com>
Thu, 26 Mar 2015 16:31:08 +0000 (26 18:31 +0200)
tree08f3c2be49791435fe9226c8acf15bb2783ea0b5
parenta3af98cfc99884c8040f1de0b5fa8d3f57421ddb
Fix a small leak and re-utf8 of grep cmd / extra options in Messages

ixed a small memory leak (argv_prefix) introduced with the spawning
change. Simplified the utf8_dir handling, there's no reason to re-
convert it to utf-8. Restored the original grep command display in
Messages (as entered in Tools vs. found by g_find_program_in_path),
but fixed the re-utf8-izing of the command and extra options.
Grouped in one commit, since these changes affect the same lines,
and are actually small.
src/search.c