Merge branch 'collectd-4.10'
[collectd.git] / src / curl_json.c
index fbac7ad..433764e 100644 (file)
@@ -758,6 +758,7 @@ static int cj_curl_perform (cj_t *db, CURL *curl) /* {{{ */
   if (db->yajl == NULL)
   {
     ERROR ("curl_json plugin: yajl_alloc failed.");
+    db->yajl = yprev;
     return (-1);
   }