1. 09 Apr, 2015 1 commit
  2. 28 Feb, 2015 1 commit
  3. 24 Feb, 2015 1 commit
  4. 04 Oct, 2014 3 commits
  5. 09 Sep, 2014 2 commits
  6. 04 Sep, 2014 1 commit
  7. 03 Sep, 2014 2 commits
  8. 28 Aug, 2014 4 commits
  9. 17 Jul, 2014 5 commits
  10. 03 Mar, 2014 1 commit
  11. 24 Oct, 2013 1 commit
  12. 26 Jul, 2013 1 commit
  13. 21 Jun, 2013 1 commit
  14. 29 Oct, 2012 1 commit
  15. 23 Oct, 2012 1 commit
  16. 08 Oct, 2012 1 commit
  17. 04 Sep, 2012 2 commits
  18. 08 Aug, 2012 2 commits
  19. 07 Aug, 2012 1 commit
  20. 05 Aug, 2012 1 commit
  21. 28 Jul, 2012 2 commits
  22. 20 May, 2012 1 commit
  23. 18 Mar, 2012 1 commit
  24. 16 Mar, 2012 1 commit
    • Antonio Ospite's avatar
      x11grab: fix a memory leak exposed by valgrind · d3958ab4
      Antonio Ospite authored
      When using "-f x11grab -i :0.0" valgrind reports a definitely lost
      memory block with this message:
      
      ==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2
      ==31544==    at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==31544==    by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==31544==    by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
      ==31544==    by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
      ==31544==    by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0)
      ==31544==    by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0)
      ==31544==    by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out)
      
      The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's
      free param in the exit path.
      
      Also check the av_strdup() return value.
      
      Note: calling av_free(param) even when av_strdup() fails and param is
      NULL is OK and keeps the code simpler without adding another label to
      skip av_free().
      Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
      d3958ab4
  25. 28 Feb, 2012 1 commit
  26. 02 Feb, 2012 1 commit