summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-07-29 21:16:35 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-23 15:28:48 +0200
commit8fc9bd0d32f0ef806adddfb7dfc56c538c85f4d4 (patch)
treea8e2d6ad6502dfb2390df9a4f8c184f2fc27ca6c /doc
parent45c7f3997ea11c3d1007b2126b1c0049a8c27105 (diff)
dict.c: Free non-strduped av_dict_set arguments on error.
Unfortunately this was not explicitly documented and thus might be risky. But all uses I could find in FFmpeg and one in VLC had a memleak in these cases, and I could not find any that relied on the previous behaviour. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 2657470b6d..5dde605fd0 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,11 @@ libavutil: 2014-08-09
API changes, most recent first:
+2014-08-23 - xxxxxxx - lavu 54.7.100 - dict.h
+ AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL arguments are now
+ freed even on error. This is consistent with the behaviour all users
+ of it we could find expect.
+
2014-08-21 - 980a5b0 - lavu 54.6.100 - frame.h motion_vector.h
Add AV_FRAME_DATA_MOTION_VECTORS side data and AVMotionVector structure