curl_global_init_mem: bump initialized even if already initialized
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Apr 2014 20:56:59 +0000 (22:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Apr 2014 21:08:14 +0000 (23:08 +0200)
commit5b463e97fa5ceaf058a3197ab89e15fcb4dd9160
treee0e060782c14f7e44a981f1ab6f844aed93ab7a8
parent8868a226cdad66a9a07d6e3f168884817592a1df
curl_global_init_mem: bump initialized even if already initialized

As this makes curl_global_init_mem() behave the same way as
curl_global_init() already does in that aspect - the same number of
curl_global_cleanup() calls is then required to again decrease the
counter and then eventually do the cleanup.

Bug: http://curl.haxx.se/bug/view.cgi?id=1362
Reported-by: Tristan
lib/easy.c