patch-res_res_features_c 483 B

1234567891011
  1. --- asterisk-1.4.27.1.orig/res/res_features.c 2009-10-20 19:46:37.000000000 +0200
  2. +++ asterisk-1.4.27.1/res/res_features.c 2009-12-03 20:53:57.000000000 +0100
  3. @@ -279,7 +279,7 @@ static void *ast_bridge_call_thread(void
  4. ast_bridge_call(tobj->peer, tobj->chan, &tobj->bconfig);
  5. ast_hangup(tobj->chan);
  6. ast_hangup(tobj->peer);
  7. - bzero(tobj, sizeof(*tobj)); /*! \todo XXX for safety */
  8. + memset(tobj, 0, sizeof(*tobj)); /*! \todo XXX for safety */
  9. free(tobj);
  10. return NULL;
  11. }