I have tried this manipulation 3 times, and the three times i've got the same bug.
My inventory was full but I had empty magazines. So i decided to empty the magazine that i've found on a bed in a military building in order to fill my magazines.
But once i empty the magazine (containing bullets) on the bed, the bullets disapear. I have tried to look for them almost 5 or 10 minutes everywhere in the room, under the bed, but the bullets have just vanished.
I've test this bug only with 5.56mm 20 Rounds magazines, but i think this bug happens whith other kind of magazines.