Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: openssl/crypto/objects/o_names.c

Issue 59793002: sh implementation to avoid unwanted resizes during iteration. (Closed) Base URL: http://src.chromium.org/chrome/trunk/deps/third_party/openssl/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/crypto/lhash/lhash.c ('k') | openssl/crypto/objects/obj_dat.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/crypto/objects/o_names.c
===================================================================
--- openssl/crypto/objects/o_names.c (revision 232952)
+++ openssl/crypto/objects/o_names.c (working copy)
@@ -350,13 +350,9 @@
void OBJ_NAME_cleanup(int type)
{
- unsigned long down_load;
-
if (names_lh == NULL) return;
free_type=type;
- down_load=lh_OBJ_NAME_down_load(names_lh);
- lh_OBJ_NAME_down_load(names_lh)=0;
lh_OBJ_NAME_doall(names_lh,LHASH_DOALL_FN(names_lh_free));
if (type < 0)
@@ -366,7 +362,5 @@
names_lh=NULL;
name_funcs_stack = NULL;
}
- else
- lh_OBJ_NAME_down_load(names_lh)=down_load;
}
« no previous file with comments | « openssl/crypto/lhash/lhash.c ('k') | openssl/crypto/objects/obj_dat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698