diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-23 00:46:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-23 00:46:12 +0100 |
commit | 89e63b4bce0fbbbdfe5c2685e929c0f46bbbf7ca (patch) | |
tree | e1be268c907d7855b107f9fb15f816a8651aad9e /gtk2_ardour/video_timeline.cc | |
parent | 167991ecebe30847f76c028bd501f49968271069 (diff) |
fix some memory leaks
Diffstat (limited to 'gtk2_ardour/video_timeline.cc')
-rw-r--r-- | gtk2_ardour/video_timeline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/video_timeline.cc b/gtk2_ardour/video_timeline.cc index 8adc7bc4d0..ca1da8d693 100644 --- a/gtk2_ardour/video_timeline.cc +++ b/gtk2_ardour/video_timeline.cc @@ -716,7 +716,7 @@ void VideoTimeLine::find_xjadeo () { std::string xjadeo_file_path; if (getenv("XJREMOTE")) { - _xjadeo_bin = strdup(getenv("XJREMOTE")); // XXX TODO: free it?! + _xjadeo_bin = getenv("XJREMOTE"); } else if (find_file_in_search_path (Searchpath(Glib::getenv("PATH")), X_("xjremote"), xjadeo_file_path)) { _xjadeo_bin = xjadeo_file_path; } |