[Jack-Devel] [jackaudio/jack1] 04a18e: Removes use of gloabl jack_tmpdir.
paul at linuxaudiosystems.com
Mon Aug 29 13:51:09 CEST 2016
Author: Uladox <uladoxiental at gmail.com>
Date: 2016-08-14 (Sun, 14 Aug 2016)
Removes use of gloabl jack_tmpdir.
Uses static local variable like how jack_user_dir does. jack_get_tmpdir()
replaces jack_tmpdir for the most part except in jackd -l where it would
cause an infinite loop, and instead DEFAULT_TMP_DIR is used, which is
what it would happen anyway. Also in jack_user_dir the default value is
used if jack_user_dir returns NULL from some error, but an error message
is printed with jack_error(), this is the same as the old behavior, but
I am not sure this is quite what should happen. Still, the exact same
behavior as before is acheived except without the use of the jack_tmpdir
global and the memory issues caused by calling jack_get_tmpdir().
Author: Paul Davis <paul at linuxaudiosystems.com>
Date: 2016-08-29 (Mon, 29 Aug 2016)
Merge pull request #47 from Uladox/master
Fixed leaked memory with jack_tmpdir.
More information about the Jackaudio