ajvizzgamer101
May 1, 02:28 PM
CleanMyMac is a pretty good application.
Jman14
Jun 25, 01:24 PM
how old is the machine
robbieduncan
Apr 24, 07:54 AM
Actually there is a malloc, it's embedded in the memcpy.
My mistake. But the underlying problem is the same: the address of returnElement is on the stack. The address of the memory the at malloced in the call to memcpy is "lost" as it is never saved into a variable. So that malloced memory is leaked.
But, if I understand you correctly, the act of copying from the heap to the stack has the same effect of free()?
No. Absolutely 100% not. You have allocated space on the heap with the malloc. The malloc returned the address for you to free later. You did not save this address so cannot call free but that is OK as memcpy also returns the destination address (so as you can put the memcpy and malloc in one line like you have). But you fail to save the address their, instead dereferencing the pointer and saving that value in a variable. So at this point the malloced space on the heap is leaked. This is a problem. The space you allocated on the stack for the double is fine: it will get cleaned up for you.
The solution is to split this into two lines. You need to have a void * pointer variable that you store the return from memcpy in. You can then dereference and cast the that into returnElement. And finally free the void * pointer returned from memcpy.
My mistake. But the underlying problem is the same: the address of returnElement is on the stack. The address of the memory the at malloced in the call to memcpy is "lost" as it is never saved into a variable. So that malloced memory is leaked.
But, if I understand you correctly, the act of copying from the heap to the stack has the same effect of free()?
No. Absolutely 100% not. You have allocated space on the heap with the malloc. The malloc returned the address for you to free later. You did not save this address so cannot call free but that is OK as memcpy also returns the destination address (so as you can put the memcpy and malloc in one line like you have). But you fail to save the address their, instead dereferencing the pointer and saving that value in a variable. So at this point the malloced space on the heap is leaked. This is a problem. The space you allocated on the stack for the double is fine: it will get cleaned up for you.
The solution is to split this into two lines. You need to have a void * pointer variable that you store the return from memcpy in. You can then dereference and cast the that into returnElement. And finally free the void * pointer returned from memcpy.
THX1139
Mar 4, 10:26 PM
The name is pretty lame and the "logo" is worse - most reasonable people will just think you misspelled published. Keep trying unless you don't care about brand. And as for Umlauts... don't use them unless you have a purpose other than hiding a bad mark.
I'm pretty sure that the people who are commenting that they like the name or the logo have little professional experience to back up their claim. Just because someone says something is good doesn't mean that it is.
I'm pretty sure that the people who are commenting that they like the name or the logo have little professional experience to back up their claim. Just because someone says something is good doesn't mean that it is.
ethana
May 2, 07:10 PM
I'm not sure how many production weeks there were for the iphone 8gb. I can tell you that, this specific one was produced in July. Why are you inquiring about this info anyway?
Just bought a sealed one to keep it as a collector's item (or potential investment). Never been opened.
Just bought a sealed one to keep it as a collector's item (or potential investment). Never been opened.
Over Achiever
Apr 22, 08:58 AM
Has anyone noticed if Facetime is less CPU intensive and runs cooler than Skype?
DrupNL
Apr 7, 07:35 AM
Hmm, nobody likey???
No...
No...
iJohnHenry
Feb 8, 07:04 PM
Now, can we teach wolves to bring down helicopters?
We can teach dolphins to sink ships, but they are both on/under water.
Teaching a wolf to fly might be the flaw in your proposal. :D
We can teach dolphins to sink ships, but they are both on/under water.
Teaching a wolf to fly might be the flaw in your proposal. :D
iLucas
Apr 26, 12:16 AM
Yes that is correct. It does chime, and the light flashes. After about 5 minutes the fan start to speed up and that's all it does. I never see anything on either screen.
iRach
May 5, 04:55 PM
Your probably right. I think I'll get the white one.
I had the same dilemma, was going to wait for the 5, 'till the white one came out...:D
I had the same dilemma, was going to wait for the 5, 'till the white one came out...:D
johnnymg
Apr 21, 11:16 PM
I don't know guys, I'm sold on the Mac Pro; after owning the 2.93 iMac the pro feels much faster, and I'm talking just basic tasks so far. The Pro i went with is the 3.2 quad with a 5870 so although the proc isn't much faster, it is night and day, I'm not sure what does it but i'm definitely happy.
Congrats on the new MP!
Put a fast SSD in that pup asap! :D
roken heart poems for boys.
best roken heart poems
course Broken heart poems
roken heart poems
roken heart poems for girls.
love poems for roken hearts
roken heart poems for boys
this roken heart of mine is
Congrats on the new MP!
Put a fast SSD in that pup asap! :D
illitrate23
Jun 18, 11:27 PM
so has anyone started queuing yet?
Honumaui
Apr 26, 08:44 PM
Why not the OWC ones ?
115 gig about $220
Other models available but about any sandforce would be my choice
Or the vertex 2
115 gig about $220
Other models available but about any sandforce would be my choice
Or the vertex 2
chipchen
Jan 8, 03:01 AM
So when are most people lining up for keynote? Maybe we should have another poll for that. My hotel is about 5 blocks away, I guess I'll be walking? or are there decent parking garages open early? (yes, I'm from LA, we drive anything more than 0.5 blocks)
Anyone willing to take shifts in line? Is the line outdoors or indoors? 10 day weather forecast from weather.com says no rain.
Anyone willing to take shifts in line? Is the line outdoors or indoors? 10 day weather forecast from weather.com says no rain.
mad jew
Sep 22, 09:37 PM
The iMac doesn't have short term memory loss (http://forums.macrumors.com/showthread.php?t=150782). ;)
Maxpej
Apr 12, 10:03 AM
An iPad is a terrific LUXURY device. I'm all for buying one, but I you have an old, useless phone you should deffinatly get a iPhone. You will love the use you can pack out of it.
But if your not allowed to upgrade yet, get an iPad 2. Maybe you can get the cheaper price for summer relase.
But if your not allowed to upgrade yet, get an iPad 2. Maybe you can get the cheaper price for summer relase.
Bendy Walker
May 2, 06:37 PM
I can also confirm this problem. I hope it's just a bug, and not an intentional change D:
Swisha31
May 6, 08:08 PM
There could be other reasons its only working after a restart... That's why I was looking for another answer besides one reply...
So unless you have no input be on your way..
What if I needed my computer and couldn't have it gone for a week for some ****** superdrive...
It's pretty pathetic I pay 1000+ for this Macbook, and a month later the cheap ass cd drive fails.
it's pretty pathetic that you aren't taking the advice that you obviously don't wanna hear but NEED to hear. if there was another reason for it, someone would have helped you BY NOW. but you know what, nobody has. so how about you be on your way, to the damn store.
So unless you have no input be on your way..
What if I needed my computer and couldn't have it gone for a week for some ****** superdrive...
It's pretty pathetic I pay 1000+ for this Macbook, and a month later the cheap ass cd drive fails.
it's pretty pathetic that you aren't taking the advice that you obviously don't wanna hear but NEED to hear. if there was another reason for it, someone would have helped you BY NOW. but you know what, nobody has. so how about you be on your way, to the damn store.
mnkeybsness
Jul 11, 06:49 PM
this worked for me at the screen saver password prompt. another issue that apple really needs to address.
phungy
Jun 24, 08:57 PM
i dont see his
Post #4 (http://forums.macrumors.com/showpost.php?p=5650241&postcount;=4)
Post #4 (http://forums.macrumors.com/showpost.php?p=5650241&postcount;=4)
macfan34
Feb 2, 09:50 PM
Every time I try to start the Terminal app I downloaded from Cydia, it crashes.
aleni
May 6, 09:53 AM
Is anyone running Lion on a lower-powered machine? I'd like to hear feedback on those who have tried it on an 11" MBA.
tried Lion with my 11" base air but with 4 gig of rams. smooth as butter. i think the air is capable running Lion without any hiccups. make sure the minimum ram is 4GB.
tried Lion with my 11" base air but with 4 gig of rams. smooth as butter. i think the air is capable running Lion without any hiccups. make sure the minimum ram is 4GB.
G-Force
Apr 30, 04:39 AM
So recently I bought an iBook G4 1.33 GHz 12" in very good condition with a new genuine Apple battery and two genuine power supplies for € 150, not a bad deal I think.
Anyway, it has the stock Toshiba 4200 rpm hard drive and had 512 MB RAM when I purchased it. I've upgraded it to 768 MB RAM afterwards. At the moment it runs Tiger, but I think it's time to move on to Leopard mainly because ClicktoFlash for Tiger does not allow me to play YouTube videos with the QuickTime Player anymore and I can't find an alternative.
I've tried Leopard on it and it was not slow, but it felt not "smooth". I think the slow hard drive causes the pretty long app launch times and the sometimes sluggish feel.
Is it worth it to upgrade the hard disk to a modern 5400 rpm model, like the Samsung HM160HC? I don't do heavy duty stuff on the iBook, but when I use it I want it to run as fast as possible. Will this hard drive make Leopard run smoother?
I also plan on upgrading the memory to 1 GB, I can get a 512 stick from a friend.
What are your thoughts, is it a waste of money or will the upgrades make a noticeable difference? I have a retail Leopard dvd, so at least I don't have to buy that. ;)
Anyway, it has the stock Toshiba 4200 rpm hard drive and had 512 MB RAM when I purchased it. I've upgraded it to 768 MB RAM afterwards. At the moment it runs Tiger, but I think it's time to move on to Leopard mainly because ClicktoFlash for Tiger does not allow me to play YouTube videos with the QuickTime Player anymore and I can't find an alternative.
I've tried Leopard on it and it was not slow, but it felt not "smooth". I think the slow hard drive causes the pretty long app launch times and the sometimes sluggish feel.
Is it worth it to upgrade the hard disk to a modern 5400 rpm model, like the Samsung HM160HC? I don't do heavy duty stuff on the iBook, but when I use it I want it to run as fast as possible. Will this hard drive make Leopard run smoother?
I also plan on upgrading the memory to 1 GB, I can get a 512 stick from a friend.
What are your thoughts, is it a waste of money or will the upgrades make a noticeable difference? I have a retail Leopard dvd, so at least I don't have to buy that. ;)
patrick0brien
Jul 21, 03:51 PM
-Freg3000
Hit the "Capture Now" button, end your capture with "esc.".
It should ask you to name the clip.
You could always "Import" the "Media" folder of iMovie captures too - I primarily use this when I'm capturing analog video that lacks a timecode that FCX can use.
Hit the "Capture Now" button, end your capture with "esc.".
It should ask you to name the clip.
You could always "Import" the "Media" folder of iMovie captures too - I primarily use this when I'm capturing analog video that lacks a timecode that FCX can use.