diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-06-15 22:51:45 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-06-15 22:51:45 +0200 |
commit | 220776de6b06c3350fac5fe78d8a2f68e894fe90 (patch) | |
tree | fcf71262b3fa6b85b870269f833e9b9f2ac11bf8 /tests/certs/EdelCurlRoot-ca.key | |
parent | 3da2c0f6d231dabcf0f4402eadc14d954b88a858 (diff) |
Curl_rtsp_parseheader: avoid useless malloc/free
Coverity actually pointed out flawed logic in the previous call to
Curl_strntoupper() where the code used sizeof() of a pointer to pass in
a size argument. That code still worked since it only needed to
uppercase 4 letters. Still, the entire malloc/uppercase/free sequence
was pointless since the code has already matched the string once in the
condition that starts the block of code.
Diffstat (limited to 'tests/certs/EdelCurlRoot-ca.key')
0 files changed, 0 insertions, 0 deletions