@@ -0,0 +1,54 @@
+diff --git a/src/base/frameitem.cpp b/src/base/frameitem.cpp
+index e83ba31..be4d4a0 100644
+--- a/src/base/frameitem.cpp
++++ b/src/base/frameitem.cpp
+@@ -17,14 +17,14 @@ FrameItem::FrameItem(QQuickItem *parent) :
+ }
+
+ void FrameItem::handleNewFrame(QImage frame) {
+- m_currentFrame = new QImage(frame);
++ m_currentFrame = frame;
+ update();
+ }
+
+ void FrameItem::paint(QPainter *painter)
+ {
+- if (m_currentFrame) {
+- painter->drawImage(contentsBoundingRect(), m_currentFrame->copy());
++ if (! m_currentFrame.isNull()) {
++ painter->drawImage(contentsBoundingRect(), m_currentFrame);
+ m_emuView->hostInput()->paint(painter);
+ paintFps(painter);
+ }
+diff --git a/src/base/frameitem.h b/src/base/frameitem.h
+index d147a0d..1a802f5 100644
+--- a/src/base/frameitem.h
++++ b/src/base/frameitem.h
+@@ -43,7 +43,7 @@ protected:
+
+ private:
+ EmuView *m_emuView;
+- QImage *m_currentFrame;
++ QImage m_currentFrame;
+ bool m_keepAspectRatio;
+
+ bool m_fpsVisible;
+diff --git a/src/base/hostaudio.cpp b/src/base/hostaudio.cpp
+index 7be42cc..5f60b15 100644
+--- a/src/base/hostaudio.cpp
++++ b/src/base/hostaudio.cpp
+@@ -155,12 +155,14 @@ void HostAudio::sendFrame()
+ #if defined(MEEGO_EDITION_HARMATTAN)
+ size_t size = -1;
+ pa_stream_begin_write(m_stream, &data, &size);
++ qDebug() << "size: " << size;
+ #elif defined(Q_WS_MAEMO_5)
+ size_t size = 4096;
+ static char buf[4096];
+ data = buf;
+ #endif
+ size = qMin(size, pa_stream_writable_size(m_stream));
++ qDebug() << "foo size: " << size;
+ if (size)
+ size = m_emu->fillAudioBuffer(reinterpret_cast<char *>(data), size);
+ if (size)
|