Преглед изворни кода

action: added missing response use counter increment

Evgeny Grin (Karlson2k) пре 1 година
родитељ
комит
113761e7b0
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/mhd2/action.c

+ 1 - 0
src/mhd2/action.c

@@ -62,6 +62,7 @@ MHD_action_from_response (struct MHD_Request *request,
     return (const struct MHD_Action *) NULL;
 
   mhd_response_check_frozen_freeze (response);
+  mhd_response_inc_use_count (response);
 
   head_act->act = mhd_ACTION_RESPONSE;
   head_act->data.response = response;