Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 584270 Details for
Bug 821334
Memory leak in video streaming
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for the memory leak part2
0002-server-mjpeg_encoder-fix-wrong-size-assigned-to-dest.patch (text/plain), 900 bytes, created by
Yonit Halperin
on 2012-05-14 07:24:58 UTC
(
hide
)
Description:
Fix for the memory leak part2
Filename:
MIME Type:
Creator:
Yonit Halperin
Created:
2012-05-14 07:24:58 UTC
Size:
900 bytes
patch
obsolete
>From 2487b5d5bd2427ebdca1bc3964a668b3f2e3958a Mon Sep 17 00:00:00 2001 >From: Yonit Halperin <yhalperi@redhat.com> >Date: Thu, 10 May 2012 14:01:39 +0300 >Subject: [PATCH 2/2] server/mjpeg_encoder: fix wrong size assigned to > dest_len > >It should have been the allocated size and not the occupied one. >This led to a lot of unnecessary allocations and deallocations. >--- > server/mjpeg_encoder.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/server/mjpeg_encoder.c b/server/mjpeg_encoder.c >index 3c2fc31..6bb2f69 100644 >--- a/server/mjpeg_encoder.c >+++ b/server/mjpeg_encoder.c >@@ -140,7 +140,7 @@ static void term_mem_destination(j_compress_ptr cinfo) > mem_destination_mgr *dest = (mem_destination_mgr *) cinfo->dest; > > *dest->outbuffer = dest->buffer; >- *dest->outsize = dest->bufsize - dest->pub.free_in_buffer; >+ *dest->outsize = dest->bufsize; > } > > /* >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 821334
:
584269
| 584270 |
585438