History

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.

Reimar Döffinger committed 12 years ago

Commit 8fc9bd01 parent 45c7f394 files · +13 −1Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -15,6 +15,11 @@ libavutil: 2014-08-09 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2014-08-23 - xxxxxxx - lavu 54.7.100 - dict.h
19+ AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL arguments are now
20+ freed even on error. This is consistent with the behaviour all users
21+ of it we could find expect.
22+
1823 2014-08-21 - 980a5b0 - lavu 54.6.100 - frame.h motion_vector.h
1924 Add AV_FRAME_DATA_MOTION_VECTORS side data and AVMotionVector structure
2025

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t