Make smf_track_get_next_event gracefully handle empty tracks.
[ardour.git] / gtk2_ardour / arval
index dcbef15a0f4e32f17efa8f6504f84ef6dff51cc9..7267857348a65fd77bf35f34b8610f13cf06caa3 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
-source ardev_common.sh
-exec valgrind --num-callers=15 --tool=memcheck ./ardour.bin --novst $*
+. `dirname "$0"`/ardev_common.sh
+export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
+exec valgrind  --num-callers=50 --tool=memcheck $EXECUTABLE --novst "$@"