jonas/tig — pull request #182 by vivien (2013-08-10 02:09:07+00:00)
Title: remove useless call to strdup() in get_temp_dir()

Since env variables and "/tmp" (literal string) are present for the
execution of the program, there's no need to call strdup().

Also constify the tmp variable.

Ref: GH#148