diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-20 11:05:07 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-20 11:05:07 -0500 |
commit | 4df9da5873749c85f50d49a94ae8f3ace4af57a6 (patch) | |
tree | 9ce2df5cd780b3a6a54b045ca0a45686195539a3 /src/direct_message.cpp | |
parent | df906121dd862c0f704e44f28ee079158c431c41 (diff) | |
download | libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.tar.gz libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.tar.bz2 libtwittercpp-4df9da5873749c85f50d49a94ae8f3ace4af57a6.zip |
Fixed unpredictable media upload failure
While uploading media worked in development, as well as on production when compiled in debug mode, it failed with memory corruption issues on production in release mode. This turned out to be because curlcpp was taking lvalue references to temporary std::string objects converted from string constants, instead of just copying the string pointer.
Diffstat (limited to 'src/direct_message.cpp')
0 files changed, 0 insertions, 0 deletions