projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
364fe87
)
I am tired ;-)
author
Michael Rasmussen
<mir@datanom.net>
Wed, 7 Nov 2018 23:50:37 +0000
(
00:50
+0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Tue, 12 Feb 2019 18:38:09 +0000
(19:38 +0100)
Signed-off-by: Michael Rasmussen <mir@datanom.net>
src/plugins/litehtml_viewer/http.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/litehtml_viewer/http.cpp
b/src/plugins/litehtml_viewer/http.cpp
index 2a8709a1c0cf4f5934314b4486ad76cffbe6be3e..5f24e2a3917530408d13954dbf642f4626e4befb 100644
(file)
--- a/
src/plugins/litehtml_viewer/http.cpp
+++ b/
src/plugins/litehtml_viewer/http.cpp
@@
-27,7
+27,7
@@
size_t http::curl_write_data(char* ptr, size_t size, size_t nmemb, void* data_pt
size_t realsize = size * nmemb;
char *input = (char *) realloc(data->memory, data->size + realsize + 1);
- if(
ptr
== NULL) {
+ if(
input
== NULL) {
/* out of memory! */
g_log(NULL, G_LOG_LEVEL_ERROR, "not enough memory (realloc returned NULL)");
return 0;