winlin

For #783, use directly free to replace auto free

@@ -6,5 +6,6 @@ listen 19350; @@ -6,5 +6,6 @@ listen 19350;
6 max_connections 1000; 6 max_connections 1000;
7 daemon off; 7 daemon off;
8 srs_log_tank console; 8 srs_log_tank console;
  9 +pid ./objs/origin.pid;
9 vhost __defaultVhost__ { 10 vhost __defaultVhost__ {
10 } 11 }
@@ -1873,7 +1873,6 @@ int SrsSource::on_video(SrsCommonMessage* shared_video) @@ -1873,7 +1873,6 @@ int SrsSource::on_video(SrsCommonMessage* shared_video)
1873 if (!m) { 1873 if (!m) {
1874 return ret; 1874 return ret;
1875 } 1875 }
1876 - SrsAutoFree(SrsSharedPtrMessage, m);  
1877 1876
1878 // consume the monotonically increase message. 1877 // consume the monotonically increase message.
1879 if (m->is_audio()) { 1878 if (m->is_audio()) {
@@ -1881,6 +1880,7 @@ int SrsSource::on_video(SrsCommonMessage* shared_video) @@ -1881,6 +1880,7 @@ int SrsSource::on_video(SrsCommonMessage* shared_video)
1881 } else { 1880 } else {
1882 ret = on_video_imp(m); 1881 ret = on_video_imp(m);
1883 } 1882 }
  1883 + srs_freep(m);
1884 1884
1885 return ret; 1885 return ret;
1886 } 1886 }