| Index: net/third_party/nss/ssl/snapstart.c
|
| diff --git a/net/third_party/nss/ssl/snapstart.c b/net/third_party/nss/ssl/snapstart.c
|
| index ca2cafa297f4d101d706847d077099b05e8bf977..a2ad7f37aad325015669ef516bea025f614c3dd2 100644
|
| --- a/net/third_party/nss/ssl/snapstart.c
|
| +++ b/net/third_party/nss/ssl/snapstart.c
|
| @@ -48,10 +48,6 @@
|
|
|
| /* TODO(agl): Add support for snap starting with compression. */
|
|
|
| -/* TODO(agl): Free snapStartApplicationData as soon as the handshake has
|
| -** completed.
|
| -*/
|
| -
|
| #include "pk11pub.h"
|
| #include "ssl.h"
|
| #include "sslimpl.h"
|
| @@ -821,6 +817,7 @@ ssl3_SendSnapStartXtn(sslSocket *ss, PRBool append, PRUint32 maxBytes)
|
| rv = ssl3_AppendSnapStartApplicationData(
|
| ss, ss->ssl3.snapStartApplicationData.data,
|
| ss->ssl3.snapStartApplicationData.len);
|
| + SECITEM_FreeItem(&ss->ssl3.snapStartApplicationData, PR_FALSE);
|
| if (rv != SECSuccess)
|
| goto loser;
|
| }
|
|
|