diff options
author | qqp <root@qqp.ca> | 2014-05-23 12:59:20 -0700 |
---|---|---|
committer | Jonathan Marshall <jmarshall@never.you.mind> | 2014-06-11 12:08:42 +1200 |
commit | 41b685fe29977c95d2483e65679814bbbb5cde4d (patch) | |
tree | d1d4949879ccd47bfe14117a9ca7104a0592cf2d | |
parent | 90c779e35fdf215412113fa2751a81417711452e (diff) |
Don't leave nvidia-settings zombies
-rw-r--r-- | xbmc/video/VideoReferenceClock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/video/VideoReferenceClock.cpp b/xbmc/video/VideoReferenceClock.cpp index 0b3950a982..1dd7e00825 100644 --- a/xbmc/video/VideoReferenceClock.cpp +++ b/xbmc/video/VideoReferenceClock.cpp @@ -480,8 +480,8 @@ bool CVideoReferenceClock::ParseNvSettings(int& RefreshRate) else if (buffpos > (int)sizeof(Buff) - 1) { buffpos = sizeof(Buff) - 1; - pclose(NvSettings); } + pclose(NvSettings); Buff[buffpos] = 0; CLog::Log(LOGDEBUG, "CVideoReferenceClock: output of %s: %s", NVSETTINGSCMD, Buff); |